diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/zprep.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/zprep.h b/src/zprep.h index 23db911..8f4684f 100644 --- a/src/zprep.h +++ b/src/zprep.h @@ -20,6 +20,14 @@ #endif #endif +#ifdef _WIN32 +#include <sys/types.h> +#ifndef PATH_MAX +#define PATH_MAX 260 +#endif +#define realpath(N, R) _fullpath((R), (N), PATH_MAX) +#endif + // **ZEN VERSION** #ifndef ZEN_VERSION #define ZEN_VERSION "0.1.0" |
