diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-04-20 13:58:17 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-04-20 13:58:17 +0000 |
commit | 372f37171ba3875ea4bf7f60150d92869e06010f (patch) | |
tree | d2c914121fe5f8e74ce26630d07d06b4d345c313 | |
parent | e489ec65b4b2ab0a050d8dbf7ec0658e6decb8b3 (diff) |
check for define PATH_MAX before referencing it
-rw-r--r-- | Xwindows.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ The Open Group. #define sleep(x) Sleep(1000*x) -#if defined(WIN32) && PATH_MAX < 1024 +#if defined(WIN32) && (!defined(PATH_MAX) || PATH_MAX < 1024) #undef PATH_MAX #define PATH_MAX 1024 #endif |