mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
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:
@@ -21,8 +21,6 @@ const char* Toy_private_version_build() {
|
|||||||
return build;
|
return build;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef TOY_DISABLE_REPL
|
|
||||||
|
|
||||||
//declare the singleton with default values
|
//declare the singleton with default values
|
||||||
Toy_CommandLine Toy_commandLine = {
|
Toy_CommandLine Toy_commandLine = {
|
||||||
.error = false,
|
.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("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");
|
printf("3. This notice may not be removed or altered from any source distribution.\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|||||||
@@ -30,8 +30,6 @@
|
|||||||
|
|
||||||
TOY_API const char* Toy_private_version_build();
|
TOY_API const char* Toy_private_version_build();
|
||||||
|
|
||||||
#ifndef TOY_DISABLE_REPL
|
|
||||||
|
|
||||||
//for processing the command line arguments in the repl
|
//for processing the command line arguments in the repl
|
||||||
typedef struct {
|
typedef struct {
|
||||||
bool error;
|
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_usageCommandLine(int argc, const char* argv[]);
|
||||||
TOY_API void Toy_helpCommandLine(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[]);
|
TOY_API void Toy_copyrightCommandLine(int argc, const char* argv[]);
|
||||||
|
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user