comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/python3.8/osdefs.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 69:33d812a61356
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 #ifdef MS_WINDOWS
11 #define SEP L'\\'
12 #define ALTSEP L'/'
13 #define MAXPATHLEN 256
14 #define DELIM L';'
15 #endif
16
17 #ifdef __VXWORKS__
18 #define DELIM L';'
19 #endif
20
21 /* Filename separator */
22 #ifndef SEP
23 #define SEP L'/'
24 #endif
25
26 /* Max pathname length */
27 #ifdef __hpux
28 #include <sys/param.h>
29 #include <limits.h>
30 #ifndef PATH_MAX
31 #define PATH_MAX MAXPATHLEN
32 #endif
33 #endif
34
35 #ifndef MAXPATHLEN
36 #if defined(PATH_MAX) && PATH_MAX > 1024
37 #define MAXPATHLEN PATH_MAX
38 #else
39 #define MAXPATHLEN 1024
40 #endif
41 #endif
42
43 /* Search path entry delimiter */
44 #ifndef DELIM
45 #define DELIM L':'
46 #endif
47
48 #ifdef __cplusplus
49 }
50 #endif
51 #endif /* !Py_OSDEFS_H */