Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5)

Side by Side Diff: Include/osdefs.h

Issue 3871: cross and native build of python for mingw32 with distutils
Patch Set: Created 7 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Include/objimpl.h ('k') | Include/pymath.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef Py_OSDEFS_H 1 #ifndef Py_OSDEFS_H
2 #define Py_OSDEFS_H 2 #define Py_OSDEFS_H
3 #ifdef __cplusplus 3 #ifdef __cplusplus
4 extern "C" { 4 extern "C" {
5 #endif 5 #endif
6 6
7 7
8 /* Operating system dependencies */ 8 /* Operating system dependencies */
9 9
10 /* Mod by chrish: QNX has WATCOM, but isn't DOS */ 10 /* Mod by chrish: QNX has WATCOM, but isn't DOS */
11 #if !defined(__QNX__) 11 #if !defined(__QNX__)
12 #if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defi ned(__DJGPP__) || defined(PYOS_OS2) 12 #if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defi ned(__DJGPP__) || defined(PYOS_OS2)
13 #if defined(PYOS_OS2) && defined(PYCC_GCC) 13 #if defined(PYOS_OS2) && defined(PYCC_GCC)
14 #define MAXPATHLEN 260 14 #define MAXPATHLEN 260
15 #define SEP L'/' 15 #define SEP L'/'
16 #define ALTSEP L'\\' 16 #define ALTSEP L'\\'
17 #else 17 #else
18 #define SEP L'\\' 18 #define SEP L'\\'
19 #define ALTSEP L'/' 19 #define ALTSEP L'/'
20 #ifndef MAXPATHLEN
20 #define MAXPATHLEN 256 21 #define MAXPATHLEN 256
22 #endif
21 #endif 23 #endif
22 #define DELIM L';' 24 #define DELIM L';'
23 #endif 25 #endif
24 #endif 26 #endif
25 27
26 /* Filename separator */ 28 /* Filename separator */
27 #ifndef SEP 29 #ifndef SEP
28 #define SEP L'/' 30 #define SEP L'/'
29 #endif 31 #endif
30 32
(...skipping 16 matching lines...) Expand all
47 49
48 /* Search path entry delimiter */ 50 /* Search path entry delimiter */
49 #ifndef DELIM 51 #ifndef DELIM
50 #define DELIM L':' 52 #define DELIM L':'
51 #endif 53 #endif
52 54
53 #ifdef __cplusplus 55 #ifdef __cplusplus
54 } 56 }
55 #endif 57 #endif
56 #endif /* !Py_OSDEFS_H */ 58 #endif /* !Py_OSDEFS_H */
OLDNEW
« no previous file with comments | « Include/objimpl.h ('k') | Include/pymath.h » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+