]>
git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Include/osdefs.h
2 Operating system dependencies.
4 Copyright (c) 2015, Daryl McDaniel. All rights reserved.<BR>
5 Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials are licensed and made available under
7 the terms and conditions of the BSD License that accompanies this distribution.
8 The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 /* Mod by chrish: QNX has WATCOM, but isn't DOS */
23 #if !defined(__QNX__) && !defined(UEFI_C_SOURCE)
24 #if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2)
25 #if defined(PYOS_OS2) && defined(PYCC_GCC)
26 #define MAXPATHLEN 260
32 #define MAXPATHLEN 256
40 #define MAXPATHLEN 256
45 /* Filename separator */
51 /* Max pathname length */
53 # include <sys/param.h>
56 # define PATH_MAX MAXPATHLEN
61 #if defined(PATH_MAX) && PATH_MAX > 1024
62 #define MAXPATHLEN PATH_MAX
64 #define MAXPATHLEN 1024
68 /* Search path entry delimiter */
72 # define DELIM_STR ";"
81 #endif /* !Py_OSDEFS_H */