From a8f5185ef04178e8440197d1b9492ada732e1ad2 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Wed, 27 Aug 2008 12:09:56 +0000 Subject: [PATCH] This header is Windows specific, so disabled it for other platforms, to avoid GCC complaining about a #pragma it cannot understand. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@355 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/src/stdafx.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinWX/src/stdafx.h b/Source/Core/DolphinWX/src/stdafx.h index 10d5c50238..78628c0281 100644 --- a/Source/Core/DolphinWX/src/stdafx.h +++ b/Source/Core/DolphinWX/src/stdafx.h @@ -18,6 +18,8 @@ #ifndef __STDAFX_H_ #define __STDAFX_H_ +#ifdef _WIN32 + // Change these values to use different versions #define WINVER 0x0400 #define _WIN32_WINNT 0x0501 @@ -45,3 +47,4 @@ #endif +#endif