- Fixed the windows build for a static lib

This commit is contained in:
Mayank 2018-01-12 12:54:24 -05:00 committed by GitHub
parent 5bb8cab1b2
commit 0661368742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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