1 #ifndef YCONFIG_H
2 #define YCONFIG_H
3 
4 #include "Python.h"
5 
6 #if defined(MS_WINDOWS)
7 #define _WINDOWS
8 #elif (defined(__MACH__) && defined(__APPLE__))
9 #define _MACH
10 #else /* *nix */
11 #define _UNIX
12 #endif
13 
14 #ifndef _MSC_VER /* non-windows compiler */
15 #include "stdint.h"
16 #endif
17 
18 #if PY_MAJOR_VERSION >= 3
19 #define IS_PY3K
20 #endif
21 
22 // static pool sizes
23 #define FL_PIT_SIZE 1000
24 #define FL_CTX_SIZE 100
25 #define HT_PIT_SIZE 10
26 #define HT_TAG_SIZE 10
27 #define HT_TAGGED_PIT_SIZE 4
28 #define HT_CTX_SIZE 10
29 #define HT_RLEVEL_SIZE 10
30 #define DEFAULT_TEST_ELAPSED_TIME 3
31 
32 #endif
33