mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Cleanup.
This commit is contained in:
@@ -12,22 +12,6 @@
|
||||
# define BX_CONFIG_ALLOCATOR_DEBUG 0
|
||||
#endif // BX_CONFIG_DEBUG_ALLOC
|
||||
|
||||
#ifndef BX_CONFIG_CRT_FILE_READER_WRITER
|
||||
# define BX_CONFIG_CRT_FILE_READER_WRITER !(0 \
|
||||
|| BX_CRT_NONE \
|
||||
)
|
||||
#endif // BX_CONFIG_CRT_FILE_READER_WRITER
|
||||
|
||||
#ifndef BX_CONFIG_CRT_PROCESS
|
||||
# define BX_CONFIG_CRT_PROCESS !(0 \
|
||||
|| BX_CRT_NONE \
|
||||
|| BX_PLATFORM_EMSCRIPTEN \
|
||||
|| BX_PLATFORM_PS4 \
|
||||
|| BX_PLATFORM_WINRT \
|
||||
|| BX_PLATFORM_XBOXONE \
|
||||
)
|
||||
#endif // BX_CONFIG_CRT_PROCESS
|
||||
|
||||
#ifndef BX_CONFIG_SUPPORTS_THREADING
|
||||
# define BX_CONFIG_SUPPORTS_THREADING !(0 \
|
||||
|| BX_PLATFORM_EMSCRIPTEN \
|
||||
|
||||
@@ -8,6 +8,22 @@
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
|
||||
#ifndef BX_CONFIG_CRT_FILE_READER_WRITER
|
||||
# define BX_CONFIG_CRT_FILE_READER_WRITER !(0 \
|
||||
|| BX_CRT_NONE \
|
||||
)
|
||||
#endif // BX_CONFIG_CRT_FILE_READER_WRITER
|
||||
|
||||
#ifndef BX_CONFIG_CRT_PROCESS
|
||||
# define BX_CONFIG_CRT_PROCESS !(0 \
|
||||
|| BX_CRT_NONE \
|
||||
|| BX_PLATFORM_EMSCRIPTEN \
|
||||
|| BX_PLATFORM_PS4 \
|
||||
|| BX_PLATFORM_WINRT \
|
||||
|| BX_PLATFORM_XBOXONE \
|
||||
)
|
||||
#endif // BX_CONFIG_CRT_PROCESS
|
||||
|
||||
namespace bx
|
||||
{
|
||||
DefaultAllocator::DefaultAllocator()
|
||||
|
||||
Reference in New Issue
Block a user