Back to home page

EIC code displayed by LXR

 
 

    


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 /* Operating system dependencies */
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 /* Filename separator */
0022 #ifndef SEP
0023 #define SEP L'/'
0024 #endif
0025 
0026 /* Max pathname length */
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 /* Search path entry delimiter */
0044 #ifndef DELIM
0045 #define DELIM L':'
0046 #endif
0047 
0048 #ifdef __cplusplus
0049 }
0050 #endif
0051 #endif /* !Py_OSDEFS_H */