Fixed MSVC compilation

This commit is contained in:
2023-06-12 00:05:24 +10:00
parent 763581c73b
commit 50d03e28fc
2 changed files with 4 additions and 6 deletions

View File

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