1 /* 2 * Copyright 2010-2019 Branimir Karadzic. All rights reserved. 3 * License: https://github.com/bkaradzic/bx#license-bsd-2-clause 4 */ 5 6 #ifndef BX_CONFIG_H_HEADER_GUARD 7 #define BX_CONFIG_H_HEADER_GUARD 8 9 #include "bx.h" 10 11 #ifndef BX_CONFIG_ALLOCATOR_DEBUG 12 # define BX_CONFIG_ALLOCATOR_DEBUG 0 13 #endif // BX_CONFIG_DEBUG_ALLOC 14 15 #ifndef BX_CONFIG_SUPPORTS_THREADING 16 # define BX_CONFIG_SUPPORTS_THREADING !(0 \ 17 || BX_PLATFORM_EMSCRIPTEN \ 18 ) 19 #endif // BX_CONFIG_SUPPORTS_THREADING 20 21 #endif // BX_CONFIG_H_HEADER_GUARD 22