瀏覽代碼

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 "platform.h"
 
+#if EMU_PLATFORM == PLATFORM_WINDOWS
+#include <windows.h>
+#endif
+
 #ifdef __APPLE__
 // 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.