diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-04-10 23:08:19 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-04-20 12:14:34 +0200 |
commit | 99529fb80dd4914807d89dafc82087da7b4c26c2 (patch) | |
tree | a62fd6650bf56b511f746dfb5c766868cf032cfb /methods.py | |
parent | 22b9c0207bf3a50bcc0db6df8af5ec2d8631abcc (diff) | |
download | redot-engine-99529fb80dd4914807d89dafc82087da7b4c26c2.tar.gz |
Move VERSION_MKSTRING logic to version.h
Fixes a bug where the VERSION_PATCH define is not yet in scope if
typedefs.h is included before version.h at compilation time.
(cherry picked from commit 3b687c5474113b64f186388883ca85cdfe6523d4)
Diffstat (limited to 'methods.py')
-rw-r--r-- | methods.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py index d8f0bf6659..cad87ad775 100644 --- a/methods.py +++ b/methods.py @@ -1165,7 +1165,7 @@ def update_version(): print("Using custom revision: " + rev) import version - f = open("core/version.h", "wb") + f = open("core/version_generated.h", "wb") f.write("#define VERSION_SHORT_NAME " + str(version.short_name) + "\n") f.write("#define VERSION_NAME " + str(version.name) + "\n") f.write("#define VERSION_MAJOR " + str(version.major) + "\n") |