Skip to content
Snippets Groups Projects
Commit e9114ea946c0 authored by Mark Sheahan's avatar Mark Sheahan
Browse files

Change dllexport controlling macro to use _WIN32


(provided by msvc compiler) instead of WIN32 (which is user configurable, and
omitted by default on some x64 builds); this fixes an issue with 64 bit windows
static library builds (#66)

Co-authored-by: default avatarMark Sheahan <mark.sheahan@upguard.com>
parent 1486036fead9
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#if defined(__MINGW32__) #if defined(__MINGW32__)
# define YAML_DECLARE(type) type # define YAML_DECLARE(type) type
#elif defined(WIN32) #elif defined(_WIN32)
# if defined(YAML_DECLARE_STATIC) # if defined(YAML_DECLARE_STATIC)
# define YAML_DECLARE(type) type # define YAML_DECLARE(type) type
# elif defined(YAML_DECLARE_EXPORT) # elif defined(YAML_DECLARE_EXPORT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment