1 #ifndef B2_CONFIG_H
2 #define B2_CONFIG_H
3 
4 /*
5 Copyright 2002-2018 Rene Rivera.
6 Distributed under the Boost Software License, Version 1.0.
7 (See accompanying file LICENSE_1_0.txt or copy at
8 http://www.boost.org/LICENSE_1_0.txt)
9 */
10 
11 #define OPT_HEADER_CACHE_EXT 1
12 #define OPT_GRAPH_DEBUG_EXT 1
13 #define OPT_SEMAPHORE 1
14 #define OPT_AT_FILES 1
15 #define OPT_DEBUG_PROFILE 1
16 #define JAM_DEBUGGER 1
17 #define OPT_FIX_TARGET_VARIABLES_EXT 1
18 #define OPT_IMPROVED_PATIENCE_EXT 1
19 
20 // Autodetect various operating systems..
21 
22 #if defined(_WIN32) || defined(_WIN64) || \
23     defined(__WIN32__) || defined(__TOS_WIN__) || \
24     defined(__WINDOWS__)
25     #define NT 1
26 #endif
27 
28 #if defined(__VMS) || defined(__VMS_VER)
29     #if !defined(VMS)
30         #define VMS 1
31     #endif
32 #endif
33 
34 // Correct missing types in some earlier compilers..
35 
36 #include <stdint.h>
37 #ifndef INT32_MIN
38 
39 // VS 2013 is barely C++11/C99. And opts to not provide specific sized int types.
40 // Provide a generic implementation of the sizes we use.
41 #if UINT_MAX == 0xffffffff
42 typedef int int32_t;
43 #elif (USHRT_MAX == 0xffffffff)
44 typedef short int32_t;
45 #elif ULONG_MAX == 0xffffffff
46 typedef long int32_t;
47 #endif
48 
49 #endif
50 
51 #endif
52