diff options
| author | Ray <[email protected]> | 2021-05-04 11:20:47 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-05-04 11:20:47 +0200 |
| commit | a41ed986bdd97dfa0d60b361b1eb8de1516519f0 (patch) | |
| tree | 40532ef2d4f63193a16c4ba8230a17c58499d99e /src | |
| parent | c4eaf0076d39517a91da18f44f2be5c87457504d (diff) | |
| download | raylib-a41ed986bdd97dfa0d60b361b1eb8de1516519f0.tar.gz raylib-a41ed986bdd97dfa0d60b361b1eb8de1516519f0.zip | |
Expose RAYLIB_VERSION in raylib.h #1747
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.h | 2 | ||||
| -rw-r--r-- | src/core.c | 2 | ||||
| -rw-r--r-- | src/raylib.h | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/config.h b/src/config.h index 99cb1d48..54fadb23 100644 --- a/src/config.h +++ b/src/config.h @@ -25,8 +25,6 @@ * **********************************************************************************************/ -#define RAYLIB_VERSION "3.7" - //------------------------------------------------------------------------------------ // Module: core - Configuration Flags //------------------------------------------------------------------------------------ @@ -116,8 +116,6 @@ // 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 "3.7" #endif #include "utils.h" // Required for: TRACELOG macros diff --git a/src/raylib.h b/src/raylib.h index 1e4ad7d0..bb67c126 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -81,6 +81,8 @@ #include <stdarg.h> // Required for: va_list - Only used by TraceLogCallback +#define RAYLIB_VERSION "3.7.0" + #if defined(_WIN32) // Microsoft attibutes to tell compiler that symbols are imported/exported from a .dll #if defined(BUILD_LIBTYPE_SHARED) |
