File: pyconfig.h

package info (click to toggle)
pypy3 7.0.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 111,848 kB
  • sloc: python: 1,291,746; ansic: 74,281; asm: 5,187; cpp: 3,017; sh: 2,533; makefile: 544; xml: 243; lisp: 45; csh: 21; awk: 4
file content (63 lines) | stat: -rw-r--r-- 1,314 bytes parent folder | download
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#ifndef Py_PYCONFIG_H
#define Py_PYCONFIG_H
#ifdef __cplusplus
extern "C" {
#endif

#define HAVE_PROTOTYPES 1
#define STDC_HEADERS 1

#define HAVE_LONG_LONG 1
#define HAVE_STDARG_PROTOTYPES 1
#define PY_FORMAT_LONG_LONG "ll"
#define PY_FORMAT_SIZE_T "z"
#define WITH_DOC_STRINGS
#define HAVE_UNICODE
#define WITHOUT_COMPLEX
#define HAVE_WCHAR_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1

/* PyPy supposes Py_UNICODE == wchar_t */
#define HAVE_USABLE_WCHAR_T 1
#ifndef _WIN32
#define SIZEOF_WCHAR_T 4
#else
#define SIZEOF_WCHAR_T 2
#endif

#ifndef _WIN32
#define VA_LIST_IS_ARRAY
#endif

#ifndef Py_BUILD_CORE /* not building the core - must be an ext */
#  if defined(_MSC_VER) && !defined(_CFFI_)
   /* So MSVC users need not specify the .lib file in
    * their Makefile (other compilers are generally
    * taken care of by distutils.) 
    */
#    ifdef _DEBUG
#      error("debug first with cpython")    
#            pragma comment(lib,"python35.lib")
#    else
#            pragma comment(lib,"python35.lib")
#    endif /* _DEBUG */
#    define HAVE_COPYSIGN 1
#    define copysign _copysign
#    ifdef MS_WIN64
       typedef __int64 ssize_t;
#    else
       typedef _W64 int ssize_t;
#    endif
#define HAVE_SSIZE_T 1


#    endif
#endif /* _MSC_VER */



#ifdef __cplusplus
}
#endif
#endif