# HG changeset patch # User Sebastien Jodogne # Date 1719131071 -7200 # Node ID e4d9a872998f3ec93005e6a290baa53a4759b9d7 # Parent a6f121707dfeb8996b530a1707882ebbe6c5525b replaced incorrect macro WIN32 by _WIN32 diff -r a6f121707dfe -r e4d9a872998f OrthancFramework/Sources/Toolbox.cpp --- a/OrthancFramework/Sources/Toolbox.cpp Thu Jun 20 21:53:16 2024 +0200 +++ b/OrthancFramework/Sources/Toolbox.cpp Sun Jun 23 10:24:31 2024 +0200 @@ -1885,7 +1885,7 @@ std::string Toolbox::GenerateUuid() { -#ifdef WIN32 +#ifdef _WIN32 UUID uuid; UuidCreate ( &uuid ); diff -r a6f121707dfe -r e4d9a872998f OrthancServer/Plugins/Engine/PluginsManager.cpp --- a/OrthancServer/Plugins/Engine/PluginsManager.cpp Thu Jun 20 21:53:16 2024 +0200 +++ b/OrthancServer/Plugins/Engine/PluginsManager.cpp Sun Jun 23 10:24:31 2024 +0200 @@ -37,7 +37,7 @@ #include #include -#ifdef WIN32 +#ifdef _WIN32 #define PLUGIN_EXTENSION ".dll" #elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) || defined(__OpenBSD__) #define PLUGIN_EXTENSION ".so" diff -r a6f121707dfe -r e4d9a872998f OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h --- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Thu Jun 20 21:53:16 2024 +0200 +++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Sun Jun 23 10:24:31 2024 +0200 @@ -111,7 +111,7 @@ #include #include -#ifdef WIN32 +#ifdef _WIN32 # define ORTHANC_PLUGINS_API __declspec(dllexport) #elif __GNUC__ >= 4 # define ORTHANC_PLUGINS_API __attribute__ ((visibility ("default")))