mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-06 17:17:04 +00:00
Moved the SDL version back to SDL_version.h
Added a comment at the top of SDL.h with the current version, for informational purposes
This commit is contained in:
@@ -22,20 +22,12 @@
|
||||
/**
|
||||
* \file SDL.h
|
||||
*
|
||||
* Main include header for the SDL library
|
||||
* Main include header for the SDL library, version 3.1.2
|
||||
*/
|
||||
|
||||
#ifndef SDL_h_
|
||||
#define SDL_h_
|
||||
|
||||
/**
|
||||
* The current version of SDL
|
||||
*/
|
||||
#define SDL_MAJOR_VERSION 3
|
||||
#define SDL_MINOR_VERSION 1
|
||||
#define SDL_MICRO_VERSION 2
|
||||
|
||||
|
||||
#include <SDL3/SDL_stdinc.h>
|
||||
#include <SDL3/SDL_assert.h>
|
||||
#include <SDL3/SDL_atomic.h>
|
||||
|
||||
@@ -37,6 +37,13 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The current version of SDL
|
||||
*/
|
||||
#define SDL_MAJOR_VERSION 3
|
||||
#define SDL_MINOR_VERSION 1
|
||||
#define SDL_MICRO_VERSION 2
|
||||
|
||||
/**
|
||||
* This macro turns the version numbers into a numeric value.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user