- Fixed the windows build for a static lib
This commit is contained in:
parent
5bb8cab1b2
commit
0661368742
@ -26,7 +26,7 @@
|
|||||||
#ifndef NLOHMANN_JSON_SCHEMA_HPP__
|
#ifndef NLOHMANN_JSON_SCHEMA_HPP__
|
||||||
#define NLOHMANN_JSON_SCHEMA_HPP__
|
#define NLOHMANN_JSON_SCHEMA_HPP__
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32) && defined(JSON_SCHEMA_VALIDATOR_SHARED_LIB)
|
||||||
# ifdef JSON_SCHEMA_VALIDATOR_EXPORTS
|
# ifdef JSON_SCHEMA_VALIDATOR_EXPORTS
|
||||||
# define JSON_SCHEMA_VALIDATOR_API __declspec(dllexport)
|
# define JSON_SCHEMA_VALIDATOR_API __declspec(dllexport)
|
||||||
# else
|
# else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user