File indexing completed on 2025-01-18 10:06:49
0001 #ifndef Py_OSDEFS_H
0002 #define Py_OSDEFS_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006
0007
0008
0009
0010 #ifdef MS_WINDOWS
0011 #define SEP L'\\'
0012 #define ALTSEP L'/'
0013 #define MAXPATHLEN 256
0014 #define DELIM L';'
0015 #endif
0016
0017 #ifdef __VXWORKS__
0018 #define DELIM L';'
0019 #endif
0020
0021
0022 #ifndef SEP
0023 #define SEP L'/'
0024 #endif
0025
0026
0027 #ifdef __hpux
0028 #include <sys/param.h>
0029 #include <limits.h>
0030 #ifndef PATH_MAX
0031 #define PATH_MAX MAXPATHLEN
0032 #endif
0033 #endif
0034
0035 #ifndef MAXPATHLEN
0036 #if defined(PATH_MAX) && PATH_MAX > 1024
0037 #define MAXPATHLEN PATH_MAX
0038 #else
0039 #define MAXPATHLEN 1024
0040 #endif
0041 #endif
0042
0043
0044 #ifndef DELIM
0045 #define DELIM L':'
0046 #endif
0047
0048 #ifdef __cplusplus
0049 }
0050 #endif
0051 #endif