From 1da2411243f9c358c29e0ab3de598fd57ba955d1 Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Sun, 25 Jan 2026 23:04:30 +0000 Subject: Moved macro to zprep.h to have it centralized. --- src/zprep.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/zprep.h') diff --git a/src/zprep.h b/src/zprep.h index ea38927..06c70b6 100644 --- a/src/zprep.h +++ b/src/zprep.h @@ -8,6 +8,14 @@ #include #include +#ifdef _WIN32 +#include +#ifndef PATH_MAX +#define PATH_MAX 260 +#endif +#define realpath(N, R) _fullpath((R), (N), PATH_MAX) +#endif + // **ZEN VERSION** #define ZEN_VERSION "0.1.0" -- cgit v1.2.3