diff --git a/Repl.vcxproj b/Repl.vcxproj index a284185..4d736c2 100644 --- a/Repl.vcxproj +++ b/Repl.vcxproj @@ -115,13 +115,15 @@ $(SolutionDir)/source;%(AdditionalIncludeDirectories) stdc17 - LIB_RUNNER_EXPORT + + stdc17 - LIB_RUNNER_EXPORT + + $(SolutionDir)/source;%(AdditionalIncludeDirectories) diff --git a/Toy.vcxproj b/Toy.vcxproj index 7dcbe29..385535c 100644 --- a/Toy.vcxproj +++ b/Toy.vcxproj @@ -132,6 +132,7 @@ + @@ -152,6 +153,7 @@ + diff --git a/source/toy_common.c b/source/toy_common.c index 8aed259..1898dca 100644 --- a/source/toy_common.c +++ b/source/toy_common.c @@ -15,7 +15,7 @@ STATIC_ASSERT(sizeof(unsigned char) == 1); STATIC_ASSERT(sizeof(unsigned short) == 2); STATIC_ASSERT(sizeof(unsigned int) == 4); -#ifndef TOY_EXPORT +#ifndef TOY_DISABLE_REPL //declare the singleton with default values Toy_CommandLine Toy_commandLine = { diff --git a/source/toy_common.h b/source/toy_common.h index f5edab5..7e06a18 100644 --- a/source/toy_common.h +++ b/source/toy_common.h @@ -28,7 +28,7 @@ #endif -#ifndef TOY_EXPORT +#ifndef TOY_DISABLE_REPL //for processing the command line arguments in the repl typedef struct {