Add 'extern "C"' guards to version.h.

This commit is contained in:
waddlesplash 2017-03-17 11:43:43 -04:00 committed by endrift
parent 15b4df3b2b
commit 244779ed19
1 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,10 @@
#ifndef VERSION_H
#define VERSION_H
#ifdef __cplusplus
extern "C" {
#endif
extern const char* const gitCommit;
extern const char* const gitCommitShort;
extern const char* const gitBranch;
@ -14,4 +18,8 @@ extern const char* const binaryName;
extern const char* const projectName;
extern const char* const projectVersion;
#ifdef __cplusplus
}
#endif
#endif