summaryrefslogtreecommitdiff
path: root/plugins/example/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/example/main.cpp')
-rw-r--r--plugins/example/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/example/main.cpp b/plugins/example/main.cpp
index 9df4c81..1eb8ac9 100644
--- a/plugins/example/main.cpp
+++ b/plugins/example/main.cpp
@@ -80,7 +80,7 @@ extern "C" int on_modules_loaded() //load main code from here, all services from
return 0;
}
-#ifdef _win32
+#ifdef _WIN32
extern "C" __declspec(dllexport) int unload()
#else
extern "C" int unload()