Staging
v0.5.1
https://github.com/python/cpython
Revision 28626de45201fcfc575f6ffcc6af849673f04476 authored by Hirokazu Yamamoto on 02 February 2009, 09:46:30 UTC, committed by Hirokazu Yamamoto on 02 February 2009, 09:46:30 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r69202 | hirokazu.yamamoto | 2009-02-02 18:15:41 +0900 | 9 lines

  Merged revisions 69200 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r69200 | hirokazu.yamamoto | 2009-02-02 17:01:17 +0900 | 1 line

    Set native svn:eol-style property for text files.
  ........
................
1 parent c2c707c
Raw File
Tip revision: 28626de45201fcfc575f6ffcc6af849673f04476 authored by Hirokazu Yamamoto on 02 February 2009, 09:46:30 UTC
Merged revisions 69202 via svnmerge from
Tip revision: 28626de
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