diff options
Diffstat (limited to 'Include/osdefs.h')
-rw-r--r-- | Include/osdefs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/osdefs.h b/Include/osdefs.h index 7a382ce..89e0ecb 100644 --- a/Include/osdefs.h +++ b/Include/osdefs.h @@ -17,9 +17,15 @@ extern "C" { /* Mod by chrish: QNX has WATCOM, but isn't DOS */ #if !defined(__QNX__) #if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2) +#if defined(PYOS_OS2) && defined(PYCC_GCC) +#define MAXPATHLEN 260 +#define SEP '/' +#define ALTSEP '\\' +#else #define SEP '\\' #define ALTSEP '/' #define MAXPATHLEN 256 +#endif #define DELIM ';' #endif #endif |