mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-20 22:03:13 +01:00
24 lines
632 B
C
24 lines
632 B
C
/*
|
|
* Copyright 2010-2022 Branimir Karadzic. All rights reserved.
|
|
* License: https://github.com/bkaradzic/bx/blob/master/LICENSE
|
|
*/
|
|
|
|
#ifndef BX_CONFIG_H_HEADER_GUARD
|
|
#define BX_CONFIG_H_HEADER_GUARD
|
|
|
|
#ifndef BX_CONFIG_DEBUG
|
|
# error "BX_CONFIG_DEBUG must be defined in build script!"
|
|
#endif // BX_CONFIG_DEBUG
|
|
|
|
#ifndef BX_CONFIG_ALLOCATOR_DEBUG
|
|
# define BX_CONFIG_ALLOCATOR_DEBUG BX_CONFIG_DEBUG
|
|
#endif // BX_CONFIG_ALLOCATOR_DEBUG
|
|
|
|
#ifndef BX_CONFIG_SUPPORTS_THREADING
|
|
# define BX_CONFIG_SUPPORTS_THREADING !(0 \
|
|
|| BX_PLATFORM_EMSCRIPTEN \
|
|
)
|
|
#endif // BX_CONFIG_SUPPORTS_THREADING
|
|
|
|
#endif // BX_CONFIG_H_HEADER_GUARD
|