~ibmcharmers/charms/xenial/ibm-db2/trunk

« back to all changes in this revision

Viewing changes to .tox/py35/include/python3.5m/osdefs.h

  • Committer: Rajith Venkata
  • Date: 2017-02-22 09:37:48 UTC
  • Revision ID: rajith.pv@in.ibm.com-20170222093748-fibtdsahuug31ra5
2ndcheckin for IBM-DB2 charm

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef Py_OSDEFS_H
 
2
#define Py_OSDEFS_H
 
3
#ifdef __cplusplus
 
4
extern "C" {
 
5
#endif
 
6
 
 
7
 
 
8
/* Operating system dependencies */
 
9
 
 
10
#ifdef MS_WINDOWS
 
11
#define SEP L'\\'
 
12
#define ALTSEP L'/'
 
13
#define MAXPATHLEN 256
 
14
#define DELIM L';'
 
15
#endif
 
16
 
 
17
/* Filename separator */
 
18
#ifndef SEP
 
19
#define SEP L'/'
 
20
#endif
 
21
 
 
22
/* Max pathname length */
 
23
#ifdef __hpux
 
24
#include <sys/param.h>
 
25
#include <limits.h>
 
26
#ifndef PATH_MAX
 
27
#define PATH_MAX MAXPATHLEN
 
28
#endif
 
29
#endif
 
30
 
 
31
#ifndef MAXPATHLEN
 
32
#if defined(PATH_MAX) && PATH_MAX > 1024
 
33
#define MAXPATHLEN PATH_MAX
 
34
#else
 
35
#define MAXPATHLEN 1024
 
36
#endif
 
37
#endif
 
38
 
 
39
/* Search path entry delimiter */
 
40
#ifndef DELIM
 
41
#define DELIM L':'
 
42
#endif
 
43
 
 
44
#ifdef __cplusplus
 
45
}
 
46
#endif
 
47
#endif /* !Py_OSDEFS_H */