Fix preprocessor branches for dllimport
This commit is contained in:
parent
2a1f77d084
commit
7e8737e85d
@ -27,10 +27,12 @@
|
||||
#define NLOHMANN_JSON_SCHEMA_HPP__
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef JSON_SCHEMA_VALIDATOR_EXPORTS
|
||||
# if defined(JSON_SCHEMA_VALIDATOR_EXPORTS)
|
||||
# define JSON_SCHEMA_VALIDATOR_API __declspec(dllexport)
|
||||
# else
|
||||
# elif defined(JSON_SCHEMA_VALIDATOR_IMPORTS)
|
||||
# define JSON_SCHEMA_VALIDATOR_API __declspec(dllimport)
|
||||
# else
|
||||
# define JSON_SCHEMA_VALIDATOR_API
|
||||
# endif
|
||||
#else
|
||||
# define JSON_SCHEMA_VALIDATOR_API
|
||||
|
||||
Loading…
Reference in New Issue
Block a user