diff --git a/Repl.vcxproj b/Repl.vcxproj index 4d736c2..555ef5c 100644 --- a/Repl.vcxproj +++ b/Repl.vcxproj @@ -115,15 +115,13 @@ $(SolutionDir)/source;%(AdditionalIncludeDirectories) stdc17 - - + %(PreprocessorDefinitions) stdc17 - - + %(PreprocessorDefinitions) $(SolutionDir)/source;%(AdditionalIncludeDirectories) diff --git a/source/toy_common.h b/source/toy_common.h index 7cabfbe..a1c45b2 100644 --- a/source/toy_common.h +++ b/source/toy_common.h @@ -9,8 +9,6 @@ #define TOY_VERSION_PATCH 5 #define TOY_VERSION_BUILD Toy_private_version_build() -const char* Toy_private_version_build(); - //platform/compiler-specific instructions #if defined(__linux__) || defined(__MINGW32__) || defined(__GNUC__) @@ -30,6 +28,8 @@ const char* Toy_private_version_build(); #endif +TOY_API const char* Toy_private_version_build(); + #ifndef TOY_DISABLE_REPL //for processing the command line arguments in the repl