diff options
-rw-r--r-- | core/commonheaders.h | 1 | ||||
-rw-r--r-- | core/main.cpp | 1 | ||||
-rw-r--r-- | plugins/example/main.cpp | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/core/commonheaders.h b/core/commonheaders.h index 6cb468d..7fff543 100644 --- a/core/commonheaders.h +++ b/core/commonheaders.h @@ -22,6 +22,7 @@ #include <boost/thread/mutex.hpp> +#include "compatibility.h" #include "../api/pluginapi.h" #include "services.h" #include "modules.h"
diff --git a/core/main.cpp b/core/main.cpp index dc145a5..b0e381d 100644 --- a/core/main.cpp +++ b/core/main.cpp @@ -1,5 +1,6 @@ #include "commonheaders.h" +#include "compatibility.h" std::list<plugin*> plugins; boost::mutex plugin_list_mutex; 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() |