Staging
v0.8.1
https://github.com/python/cpython
Revision 135b6d8aa5a24b08170fd94114a80dfeb1ae963c authored by Victor Stinner on 03 March 2012, 00:32:57 UTC, committed by Victor Stinner on 03 March 2012, 00:32:57 UTC
verbose arguments from all threading classes and functions.
1 parent 643cd68
Raw File
Tip revision: 135b6d8aa5a24b08170fd94114a80dfeb1ae963c authored by Victor Stinner on 03 March 2012, 00:32:57 UTC
Close #13550: Remove the debug machinery from the threading module: remove
Tip revision: 135b6d8
osdefs.h
#ifndef Py_OSDEFS_H
#define Py_OSDEFS_H
#ifdef __cplusplus
extern "C" {
#endif


/* Operating system dependencies */

/* Mod by chrish: QNX has WATCOM, but isn't DOS */
#if !defined(__QNX__)
#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2)
#if defined(PYOS_OS2) && defined(PYCC_GCC)
#define MAXPATHLEN 260
#define SEP L'/'
#define ALTSEP L'\\'
#else
#define SEP L'\\'
#define ALTSEP L'/'
#define MAXPATHLEN 256
#endif
#define DELIM L';'
#endif
#endif

/* Filename separator */
#ifndef SEP
#define SEP L'/'
#endif

/* Max pathname length */
#ifndef MAXPATHLEN
#if defined(PATH_MAX) && PATH_MAX > 1024
#define MAXPATHLEN PATH_MAX
#else
#define MAXPATHLEN 1024
#endif
#endif

/* Search path entry delimiter */
#ifndef DELIM
#define DELIM L':'
#endif

#ifdef __cplusplus
}
#endif
#endif /* !Py_OSDEFS_H */
back to top