Expose RAYLIB_VERSION in raylib.h #1747

This commit is contained in:
Ray 2021-05-04 11:20:47 +02:00
parent c4eaf0076d
commit a41ed986bd
3 changed files with 2 additions and 4 deletions

View file

@ -25,8 +25,6 @@
* *
**********************************************************************************************/ **********************************************************************************************/
#define RAYLIB_VERSION "3.7"
//------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------
// Module: core - Configuration Flags // Module: core - Configuration Flags
//------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------

View file

@ -116,8 +116,6 @@
// Check if config flags have been externally provided on compilation line // Check if config flags have been externally provided on compilation line
#if !defined(EXTERNAL_CONFIG_FLAGS) #if !defined(EXTERNAL_CONFIG_FLAGS)
#include "config.h" // Defines module configuration flags #include "config.h" // Defines module configuration flags
#else
#define RAYLIB_VERSION "3.7"
#endif #endif
#include "utils.h" // Required for: TRACELOG macros #include "utils.h" // Required for: TRACELOG macros

View file

@ -81,6 +81,8 @@
#include <stdarg.h> // Required for: va_list - Only used by TraceLogCallback #include <stdarg.h> // Required for: va_list - Only used by TraceLogCallback
#define RAYLIB_VERSION "3.7.0"
#if defined(_WIN32) #if defined(_WIN32)
// Microsoft attibutes to tell compiler that symbols are imported/exported from a .dll // Microsoft attibutes to tell compiler that symbols are imported/exported from a .dll
#if defined(BUILD_LIBTYPE_SHARED) #if defined(BUILD_LIBTYPE_SHARED)