annotate DEPENDENCIES/mingw32/Python27/include/osdefs.h @ 118:770eb830ec19 emscripten

Typo fix
author Chris Cannam
date Wed, 18 May 2016 16:14:08 +0100
parents 2a2c65a20a8b
children
rev   line source
Chris@87 1 #ifndef Py_OSDEFS_H
Chris@87 2 #define Py_OSDEFS_H
Chris@87 3 #ifdef __cplusplus
Chris@87 4 extern "C" {
Chris@87 5 #endif
Chris@87 6
Chris@87 7
Chris@87 8 /* Operating system dependencies */
Chris@87 9
Chris@87 10 /* Mod by chrish: QNX has WATCOM, but isn't DOS */
Chris@87 11 #if !defined(__QNX__)
Chris@87 12 #if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2)
Chris@87 13 #if defined(PYOS_OS2) && defined(PYCC_GCC)
Chris@87 14 #define MAXPATHLEN 260
Chris@87 15 #define SEP '/'
Chris@87 16 #define ALTSEP '\\'
Chris@87 17 #else
Chris@87 18 #define SEP '\\'
Chris@87 19 #define ALTSEP '/'
Chris@87 20 #define MAXPATHLEN 256
Chris@87 21 #endif
Chris@87 22 #define DELIM ';'
Chris@87 23 #endif
Chris@87 24 #endif
Chris@87 25
Chris@87 26 #ifdef RISCOS
Chris@87 27 #define SEP '.'
Chris@87 28 #define MAXPATHLEN 256
Chris@87 29 #define DELIM ','
Chris@87 30 #endif
Chris@87 31
Chris@87 32
Chris@87 33 /* Filename separator */
Chris@87 34 #ifndef SEP
Chris@87 35 #define SEP '/'
Chris@87 36 #endif
Chris@87 37
Chris@87 38 /* Max pathname length */
Chris@87 39 #ifdef __hpux
Chris@87 40 #include <sys/param.h>
Chris@87 41 #include <limits.h>
Chris@87 42 #ifndef PATH_MAX
Chris@87 43 #define PATH_MAX MAXPATHLEN
Chris@87 44 #endif
Chris@87 45 #endif
Chris@87 46
Chris@87 47 #ifndef MAXPATHLEN
Chris@87 48 #if defined(PATH_MAX) && PATH_MAX > 1024
Chris@87 49 #define MAXPATHLEN PATH_MAX
Chris@87 50 #else
Chris@87 51 #define MAXPATHLEN 1024
Chris@87 52 #endif
Chris@87 53 #endif
Chris@87 54
Chris@87 55 /* Search path entry delimiter */
Chris@87 56 #ifndef DELIM
Chris@87 57 #define DELIM ':'
Chris@87 58 #endif
Chris@87 59
Chris@87 60 #ifdef __cplusplus
Chris@87 61 }
Chris@87 62 #endif
Chris@87 63 #endif /* !Py_OSDEFS_H */