summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-16 19:19:44 +0000
committerDavid Robillard <d@drobilla.net>2012-01-16 19:19:44 +0000
commit375152a6c364baab8de9dc81cd9e3c9a61f0e982 (patch)
tree3cc10d37037e6b73205b5e3f688d5078a3826766
parent37381d5a9d341dfae9935c3fd70489d6bccc2d1a (diff)
downloadsuil-375152a6c364baab8de9dc81cd9e3c9a61f0e982.tar.gz
suil-375152a6c364baab8de9dc81cd9e3c9a61f0e982.tar.bz2
suil-375152a6c364baab8de9dc81cd9e3c9a61f0e982.zip
Use correct WIN32 define.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3954 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/suil_internal.h2
-rw-r--r--suil/suil.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/suil_internal.h b/src/suil_internal.h
index a2444c9..cfb3cd5 100644
--- a/src/suil_internal.h
+++ b/src/suil_internal.h
@@ -22,7 +22,7 @@
#include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
-#ifdef __WIN32__
+#ifdef _WIN32
#include <windows.h>
#define dlopen(path, flags) LoadLibrary(path)
#define dlclose(lib) FreeLibrary(lib)
diff --git a/suil/suil.h b/suil/suil.h
index a65ed4f..a71e040 100644
--- a/suil/suil.h
+++ b/suil/suil.h
@@ -27,7 +27,7 @@
#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
#ifdef SUIL_SHARED
-# ifdef __WIN32__
+# ifdef _WIN32
# define SUIL_LIB_IMPORT __declspec(dllimport)
# define SUIL_LIB_EXPORT __declspec(dllexport)
# else