From 937f10ac0604bfbd542086cc571ff32f23caff9c Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sun, 21 Jul 2002 23:03:20 +0000
Subject: [PATCH] Eliminatd WRAPPER_DLL usage, define WRAPPER_IMPORTS or
 WRAPPER_EXPORTS instead.

---
 src/xpdev/wrapdll.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/xpdev/wrapdll.h b/src/xpdev/wrapdll.h
index 1ca606b2ba..b4f7c224a0 100644
--- a/src/xpdev/wrapdll.h
+++ b/src/xpdev/wrapdll.h
@@ -45,11 +45,11 @@
 	#undef DLLCALL
 #endif
 
-#if defined(_WIN32) && defined(WRAPPER_DLL)
-	#if defined(WRAPPER_EXPORTS)
-		#define DLLEXPORT	__declspec(dllexport)
-	#else
+#if defined(_WIN32) && (defined(WRAPPER_IMPORTS) || defined(WRAPPER_EXPORTS))
+	#if defined(WRAPPER_IMPORTS)
 		#define DLLEXPORT	__declspec(dllimport)
+	#else
+		#define DLLEXPORT	__declspec(dllexport)
 	#endif
 	#if defined(__BORLANDC__)
 		#define DLLCALL __stdcall
-- 
GitLab