소스 검색

Fixed VS build.

Branimir Karadžić 9 년 전
부모
커밋
3366b25c70
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/os.cpp

+ 2 - 1
src/os.cpp

@@ -5,6 +5,7 @@
 
 
 #include <bx/os.h>
 #include <bx/os.h>
 #include <bx/uint32_t.h>
 #include <bx/uint32_t.h>
+#include <bx/string.h>
 
 
 #if BX_PLATFORM_WINDOWS || BX_PLATFORM_WINRT
 #if BX_PLATFORM_WINDOWS || BX_PLATFORM_WINRT
 #	include <windows.h>
 #	include <windows.h>
@@ -416,7 +417,7 @@ namespace bx
 						);
 						);
 		}
 		}
 
 
-		bool ok = CreateProcessA(_argv[0]
+		bool ok = !!CreateProcessA(_argv[0]
 					, temp
 					, temp
 					, NULL
 					, NULL
 					, NULL
 					, NULL