Просмотр исходного кода

arm: removed include of windows.h from armdefs.h to arminit.c (only module that uses it)

bunnei 12 лет назад
Родитель
Сommit
a721a4eb33
2 измененных файлов с 3 добавлено и 4 удалено
  1. 0 4
      src/core/arm/interpreter/armdefs.h
  2. 3 0
      src/core/arm/interpreter/arminit.cpp

+ 0 - 4
src/core/arm/interpreter/armdefs.h

@@ -24,10 +24,6 @@
 
 #include "common/platform.h"
 
-#if EMU_PLATFORM == PLATFORM_WINDOWS
-#include <windows.h>
-#endif
-
 //teawater add for arm2x86 2005.02.14-------------------------------------------
 // koodailar remove it for mingw 2005.12.18----------------
 //anthonylee modify it for portable 2007.01.30

+ 3 - 0
src/core/arm/interpreter/arminit.cpp

@@ -17,8 +17,11 @@
 
 
 #include "common/platform.h"
+
 #if EMU_PLATFORM == PLATFORM_LINUX
 #include <unistd.h>
+#elif EMU_PLATFORM == PLATFORM_WINDOWS
+#include <windows.h>
 #endif
 
 #include <math.h>