Added TOY_DISABLE_REPL option for compiling

This commit is contained in:
2023-06-07 00:04:05 +10:00
parent 07f4a98b95
commit d3eb31d964
4 changed files with 8 additions and 4 deletions

View File

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

View File

@@ -28,7 +28,7 @@
#endif
#ifndef TOY_EXPORT
#ifndef TOY_DISABLE_REPL
//for processing the command line arguments in the repl
typedef struct {