# HG changeset patch # User John "Elwin" Edwards # Date 1439412979 14400 # Node ID 6fb21004a98139054393dfa11f57d0bdbdab8ed4 # Parent 1cd604c827a368d4bf48a76f8a5888c92a86d075 Fix some preprocessor directives. Include process.h in the right place, and use the correct definition of PATH_MAX, when compiling on Windows. diff -r 1cd604c827a3 -r 6fb21004a981 arogue7/mdport.c --- a/arogue7/mdport.c Wed Aug 12 15:42:02 2015 -0400 +++ b/arogue7/mdport.c Wed Aug 12 16:56:19 2015 -0400 @@ -32,7 +32,6 @@ #if defined(_WIN32) #include #include -#include #include #include #include @@ -48,7 +47,7 @@ #include #if defined(_WIN32) && !defined(__MINGW32__) -#define PATH_MAX _PATH_MAX +#define PATH_MAX _MAX_PATH #endif #include @@ -61,6 +60,10 @@ #endif #endif +#if defined(_WIN32) +#include +#endif + #include #include #include