]>
git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/Applications/Python/PyMod-2.7.2/Include/osdefs.h
f6bfdb01cca74571f4b76b1f3649a8d6ef9f84f1
2 Operating system dependencies.
4 Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 /* Mod by chrish: QNX has WATCOM, but isn't DOS */
21 #if !defined(__QNX__) && !defined(UEFI_ENV)
22 #if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2)
23 #if defined(PYOS_OS2) && defined(PYCC_GCC)
24 #define MAXPATHLEN 260
30 #define MAXPATHLEN 256
38 #define MAXPATHLEN 256
43 /* Filename separator */
49 /* Max pathname length */
51 #if defined(PATH_MAX) && PATH_MAX > 1024
52 #define MAXPATHLEN PATH_MAX
54 #define MAXPATHLEN 1024
58 /* Search path entry delimiter */
71 #endif /* !Py_OSDEFS_H */