mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
Include gitinfo.h in version.h on Windows only
Avoid building of several files on each pull/reset/amend/cherry-pick/etc on macOS and Linux
This commit is contained in:
parent
bd74cf85a4
commit
93fa9ac1c9
1 changed files with 4 additions and 2 deletions
|
@ -31,11 +31,13 @@
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "gitinfo.h"
|
|
||||||
|
|
||||||
#ifndef __VERSION_H__
|
#ifndef __VERSION_H__
|
||||||
#define __VERSION_H__
|
#define __VERSION_H__
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include "gitinfo.h"
|
||||||
|
#endif // _WIN32
|
||||||
|
|
||||||
const char *GetGitDescription();
|
const char *GetGitDescription();
|
||||||
const char *GetGitHash();
|
const char *GetGitHash();
|
||||||
const char *GetGitTime();
|
const char *GetGitTime();
|
||||||
|
|
Loading…
Reference in a new issue