Removed a macro that potentially broke the build

Gonna have to live with repl code in the lib for now.
This commit is contained in:
2023-06-14 16:53:48 +10:00
parent deff784df8
commit f25f389b4e
2 changed files with 0 additions and 8 deletions

View File

@@ -21,8 +21,6 @@ const char* Toy_private_version_build() {
return build;
}
#ifndef TOY_DISABLE_REPL
//declare the singleton with default values
Toy_CommandLine Toy_commandLine = {
.error = false,
@@ -154,5 +152,3 @@ void Toy_copyrightCommandLine(int argc, const char* argv[]) {
printf("2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.\n\n");
printf("3. This notice may not be removed or altered from any source distribution.\n\n");
}
#endif

View File

@@ -30,8 +30,6 @@
TOY_API const char* Toy_private_version_build();
#ifndef TOY_DISABLE_REPL
//for processing the command line arguments in the repl
typedef struct {
bool error;
@@ -56,5 +54,3 @@ TOY_API void Toy_initCommandLine(int argc, const char* argv[]);
TOY_API void Toy_usageCommandLine(int argc, const char* argv[]);
TOY_API void Toy_helpCommandLine(int argc, const char* argv[]);
TOY_API void Toy_copyrightCommandLine(int argc, const char* argv[]);
#endif