Преглед изворни кода

added default windows include

ShizZy пре 13 година
родитељ
комит
d5863c415e
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      src/common/src/common.h

+ 4 - 0
src/common/src/common.h

@@ -50,6 +50,10 @@ private:
 #include "common_paths.h"
 #include "common_paths.h"
 #include "platform.h"
 #include "platform.h"
 
 
+#if EMU_PLATFORM == PLATFORM_WINDOWS
+#include <windows.h>
+#endif
+
 #ifdef __APPLE__
 #ifdef __APPLE__
 // The Darwin ABI requires that stack frames be aligned to 16-byte boundaries.
 // The Darwin ABI requires that stack frames be aligned to 16-byte boundaries.
 // This is only needed on i386 gcc - x86_64 already aligns to 16 bytes.
 // This is only needed on i386 gcc - x86_64 already aligns to 16 bytes.