]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/src/engine/config.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / src / engine / config.h
CommitLineData
92f5a8d4
TL
1#ifndef B2_CONFIG_H
2#define B2_CONFIG_H
3
4/*
1e59de90 5Copyright 2002-2021 Rene Rivera.
92f5a8d4 6Distributed under the Boost Software License, Version 1.0.
1e59de90
TL
7(See accompanying file LICENSE.txt or copy at
8https://www.bfgroup.xyz/b2/LICENSE.txt)
92f5a8d4
TL
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
1e59de90 19// #define BJAM_NO_MEM_CACHE 1
92f5a8d4
TL
20
21// Autodetect various operating systems..
22
23#if defined(_WIN32) || defined(_WIN64) || \
24 defined(__WIN32__) || defined(__TOS_WIN__) || \
25 defined(__WINDOWS__)
26 #define NT 1
27#endif
28
29#if defined(__VMS) || defined(__VMS_VER)
30 #if !defined(VMS)
31 #define VMS 1
32 #endif
33#endif
34
1e59de90
TL
35// To work around QEMU failures on mixed mode situations (32 vs 64) we need to
36// enable partial LFS support in system headers. And we need to do this before
37// any system headers are included.
38
39#if !defined(NT) && !defined(VMS)
40# define _FILE_OFFSET_BITS 64
41#endif
42
43// Correct missing types in some earlier compilers..
44
45#include <stdint.h>
46#ifndef INT32_MIN
47
48// VS 2013 is barely C++11/C99. And opts to not provide specific sized int types.
49// Provide a generic implementation of the sizes we use.
50#if UINT_MAX == 0xffffffff
51typedef int int32_t;
52#elif (USHRT_MAX == 0xffffffff)
53typedef short int32_t;
54#elif ULONG_MAX == 0xffffffff
55typedef long int32_t;
56#endif
57
58#endif
59
92f5a8d4 60#endif