diff options
author | aliaspider | 2014-11-29 18:16:21 +0100 |
---|---|---|
committer | aliaspider | 2014-11-29 18:16:21 +0100 |
commit | 5a370d8f1c9d4111625e0eacd3794e4d7cbc70c5 (patch) | |
tree | 85bfdd8d0e1938b53b7c1d6b2a63cb9c70a3eeaf | |
parent | ade41a04bd3c89c0e89a3f2b17c772accb57a625 (diff) | |
download | snesemu-5a370d8f1c9d4111625e0eacd3794e4d7cbc70c5.tar.gz snesemu-5a370d8f1c9d4111625e0eacd3794e4d7cbc70c5.tar.bz2 snesemu-5a370d8f1c9d4111625e0eacd3794e4d7cbc70c5.zip |
(windows) build fix
-rw-r--r-- | source/spc7110.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/spc7110.c b/source/spc7110.c index a1b3a45..c6de135 100644 --- a/source/spc7110.c +++ b/source/spc7110.c @@ -99,8 +99,15 @@ #define chdir _chdir #define getcwd _getcwd #endif -//zinx suggested this, for *nix compatibility + +#ifndef PATH_MAX +#ifdef MAX_PATH #define PATH_MAX MAX_PATH +#else +#define PATH_MAX 1024 +#endif +#endif + #else // Unix #include "display.h" #include <limits.h> |