summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
authorRay <[email protected]>2019-03-12 16:00:26 +0100
committerRay <[email protected]>2019-03-12 16:00:26 +0100
commit477ea4d6606aa4659549f786935096942f187b37 (patch)
treebb0a7d172ea25eeec0fd492b4bd5b3804e6ea4ac /src/core.c
parent76e968f6b7b211ed056f5ffe97d13086f58a661a (diff)
downloadraylib-477ea4d6606aa4659549f786935096942f187b37.tar.gz
raylib-477ea4d6606aa4659549f786935096942f187b37.zip
Support external config flags
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index e6852eef..55b6ba82 100644
--- a/src/core.c
+++ b/src/core.c
@@ -92,6 +92,8 @@
// Check if config flags have been externally provided on compilation line
#if !defined(EXTERNAL_CONFIG_FLAGS)
#include "config.h" // Defines module configuration flags
+#else
+ #define RAYLIB_VERSION "2.5"
#endif
#if (defined(__linux__) || defined(PLATFORM_WEB)) && _POSIX_C_SOURCE < 199309L