summaryrefslogtreecommitdiff
path: root/config/linux/pyconfig.h
blob: 9fbd31249becc9bbf0db22a035f0abbde1cb6766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef PY_PYCONFIG_H
#define PY_PYCONFIG_H

#include "osapi/modern.h"
#include "osapi/rtld.h"
#include "osapi/linux.h"
#include "osapi/overrides.h"

/* cf. Modules/posixmodule.c */
#define HAVE_BROKEN_NICE 1

#ifndef LONG_MAX
#define LONG_MAX                __LONG_MAX__
#endif

#ifndef SIZEOF_VOID_P
#define SIZEOF_VOID_P           __SIZEOF_POINTER__
#endif

#ifndef SIZEOF_INT
#define SIZEOF_INT              __SIZEOF_INT__
#endif

#ifndef SIZEOF_LONG
#define SIZEOF_LONG             __SIZEOF_LONG__
#endif

#ifndef SIZEOF_LONG_LONG
#define SIZEOF_LONG_LONG        __SIZEOF_LONG_LONG__
#endif

#ifndef SIZEOF_SIZE_T
#define SIZEOF_SIZE_T           __SIZEOF_SIZE_T__
#endif

#ifndef SIZEOF_PID_T
#define SIZEOF_PID_T            __SIZEOF_INT__
#endif

#ifndef PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT
#define PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT 1
#endif

#endif