Fix version project building on 32-bit

This commit is contained in:
baldurk committed 2018-01-16 23:17:55 +00:00
1 parent 02155f4953
commit f751be98ed
2 files changed
+20 -1

No files matched your search

+5 -1
View File
@@ -38,4 +38,8 @@
// Note the hash should be precisely 40 characters, as comes from git rev-parse.
extern "C" const char GitVersionHash[41] = GIT_COMMIT_HASH;
#pragma comment(linker, "/include:GitVersionHash")
#if defined(WIN64)
#pragma comment(linker, "/include:GitVersionHash")
#elif defined(WIN32)
#pragma comment(linker, "/include:_GitVersionHash")
#endif