Branimir Karadžić 8 years ago
parent
commit
658fd5376f
2 changed files with 16 additions and 16 deletions
  1. 0 16
      include/bx/config.h
  2. 16 0
      src/crtimpl.cpp

+ 0 - 16
include/bx/config.h

@@ -12,22 +12,6 @@
 #	define BX_CONFIG_ALLOCATOR_DEBUG 0
 #	define BX_CONFIG_ALLOCATOR_DEBUG 0
 #endif // BX_CONFIG_DEBUG_ALLOC
 #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
 #ifndef BX_CONFIG_SUPPORTS_THREADING
 #	define BX_CONFIG_SUPPORTS_THREADING !(0 \
 #	define BX_CONFIG_SUPPORTS_THREADING !(0 \
 			|| BX_PLATFORM_EMSCRIPTEN       \
 			|| BX_PLATFORM_EMSCRIPTEN       \

+ 16 - 0
src/crtimpl.cpp

@@ -8,6 +8,22 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <malloc.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
 namespace bx
 {
 {
 	DefaultAllocator::DefaultAllocator()
 	DefaultAllocator::DefaultAllocator()