summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VideoState.cpp
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2008-08-27 09:07:02 +0000
committerMaarten ter Huurne <maarten@treewalker.org>2008-08-27 09:07:02 +0000
commit4aa233f1f6d9ea68e7bf38aaea19a6b83f6665a6 (patch)
treed0149a8c67459a382a06fcee1a104b7b16a398c8 /Source/Core/VideoCommon/Src/VideoState.cpp
parent7d0bf8a101e815744e5d02fb4d27bf3472582216 (diff)
Only include <windows.h> when compiling for Windows.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@340 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/VideoState.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/VideoState.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoState.cpp b/Source/Core/VideoCommon/Src/VideoState.cpp
index 12e9efe547..e3b4129082 100644
--- a/Source/Core/VideoCommon/Src/VideoState.cpp
+++ b/Source/Core/VideoCommon/Src/VideoState.cpp
@@ -17,7 +17,9 @@
#include "VideoState.h"
#include "TextureDecoder.h"
+#ifdef WIN32
#include <windows.h>
+#endif
void VideoCommon_SaveState() {
#ifdef WIN32