De-duplicate release version

I'm fine with putting the release version in a header file, thus
necessitating the need to recompile every file that includes it if it's
changed, simply because it's not supposed to be changed that often.

The SDL_arraysize is necessary because sometimes we'll have subreleases
(e.g. 2.4.1, 2.4.2, 2.4.3), and who knows, maybe we'll get to 2.10
someday.
This commit is contained in:
Misa committed 2022-08-23 00:00:39 -07:00
1 parent 4bf5e5e6a0
commit 52124f7010
3 files changed
+10 -3

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#ifndef RELEASEVERSION_H
#define RELEASEVERSION_H
#define RELEASE_VERSION "v2.4"
#endif /* RELEASEVERSION_H */