source:
trunk/essentials/dev-lang/python/Include/osdefs.h@
3397
| Last change on this file since 3397 was 3364, checked in by , 19 years ago | |
|---|---|
| File size: 1.7 KB | |
| Rev | Line | |
|---|---|---|
| [3225] | 1 | #ifndef Py_OSDEFS_H |
| 2 | #define Py_OSDEFS_H | |
| 3 | #ifdef __cplusplus | |
| 4 | extern "C" { | |
| 5 | #endif | |
| 6 | ||
| 7 | ||
| 8 | /* Operating system dependencies */ | |
| 9 | ||
| 10 | /* Mod by chrish: QNX has WATCOM, but isn't DOS */ | |
| 11 | #if !defined(__QNX__) | |
| 12 | #if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2) | |
| 13 | #if defined(PYOS_OS2) && defined(PYCC_GCC) | |
| 14 | #define MAXPATHLEN 260 | |
| 15 | #define SEP '/' | |
| 16 | #define ALTSEP '\\' | |
| 17 | #else | |
| 18 | #define SEP '\\' | |
| 19 | #define ALTSEP '/' | |
| 20 | #define MAXPATHLEN 256 | |
| 21 | #endif | |
| [3364] | 22 | #define DRVSEP ':' /* (bird) */ |
| [3225] |
