|
|
@ -26,13 +26,9 @@ namespace fs = std::filesystem;
|
|
|
|
#include <psapi.h> // For access to GetModuleFileNameEx
|
|
|
|
#include <psapi.h> // For access to GetModuleFileNameEx
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(_MSC_VER)
|
|
|
|
#if defined(__APPLE__) && defined(EXV_HAVE_LIBPROC_H)
|
|
|
|
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
|
|
|
|
|
|
|
#elif defined(__APPLE__)
|
|
|
|
|
|
|
|
#if defined(EXV_HAVE_LIBPROC_H)
|
|
|
|
|
|
|
|
#include <libproc.h>
|
|
|
|
#include <libproc.h>
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(__FreeBSD__)
|
|
|
|
#if defined(__FreeBSD__)
|
|
|
|
#include <sys/mount.h>
|
|
|
|
#include <sys/mount.h>
|
|
|
|