CYaml: correct platform check (#303)
The target macro for Windows `_WIN32`. We would fail to build with CMake on Windows when building with shared libraries.
This commit is contained in:
parent
adeee7ef61
commit
3a1b1f8c23
|
@ -28,7 +28,7 @@ extern "C" {
|
|||
|
||||
#if defined(__MINGW32__)
|
||||
# define YAML_DECLARE(type) type
|
||||
#elif defined(WIN32)
|
||||
#elif defined(_WIN32)
|
||||
# if defined(YAML_DECLARE_STATIC)
|
||||
# define YAML_DECLARE(type) type
|
||||
# elif defined(YAML_DECLARE_EXPORT)
|
||||
|
|
Loading…
Reference in New Issue