浏览代码

Expose RAYLIB_VERSION in raylib.h #1747

pull/1748/head
Ray 3 年前
父节点
当前提交
a41ed986bd
共有 3 个文件被更改,包括 2 次插入4 次删除
  1. +0
    -2
      src/config.h
  2. +0
    -2
      src/core.c
  3. +2
    -0
      src/raylib.h

+ 0
- 2
src/config.h 查看文件

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

+ 0
- 2
src/core.c 查看文件

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

+ 2
- 0
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)

正在加载...
取消
保存