From 1e85c72ce9f04e56046c2282d344eac3bd81cac1 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Tue, 25 Jan 2011 07:16:39 -0600 Subject: [PATCH] Merge static library support from paulburton --- src/wiiuse.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/wiiuse.h b/src/wiiuse.h index d820d3e..d092b44 100644 --- a/src/wiiuse.h +++ b/src/wiiuse.h @@ -727,8 +727,13 @@ typedef enum wiiuse_loglevel { *****************************************/ #ifdef WIIUSE_WIN32 - #define WIIUSE_EXPORT_DECL __declspec(dllexport) - #define WIIUSE_IMPORT_DECL __declspec(dllimport) + #ifdef WIIUSE_STATIC + #define WIIUSE_EXPORT_DECL + #define WIIUSE_IMPORT_DECL + #else + #define WIIUSE_EXPORT_DECL __declspec(dllexport) + #define WIIUSE_IMPORT_DECL __declspec(dllimport) + #endif #else #define WIIUSE_EXPORT_DECL #define WIIUSE_IMPORT_DECL