From 1734aec782e23ab94c676b5b9ef06e4c7908a96b Mon Sep 17 00:00:00 2001 From: Marcus Cuda Date: Fri, 30 Oct 2009 18:18:12 +0800 Subject: [PATCH] don't need to test _WINDOWS if only being used on Windows --- src/NativeWrappers/Common/WindowsDLL.cpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/NativeWrappers/Common/WindowsDLL.cpp b/src/NativeWrappers/Common/WindowsDLL.cpp index 3129eb35..83c4c1e1 100644 --- a/src/NativeWrappers/Common/WindowsDLL.cpp +++ b/src/NativeWrappers/Common/WindowsDLL.cpp @@ -1,10 +1,8 @@ -#ifdef _WINDOWS - #ifndef VC_EXTRALEAN - #define VC_EXTRALEAN - #endif - #include "windows.h" - - BOOL APIENTRY DllMain( HANDLE, DWORD, LPVOID ){ - return TRUE; - } +#ifndef VC_EXTRALEAN + #define VC_EXTRALEAN #endif +#include "windows.h" + +BOOL APIENTRY DllMain( HANDLE, DWORD, LPVOID ){ + return TRUE; +}