mirror of https://github.com/mgba-emu/mgba.git
Add 'extern "C"' guards to version.h.
This commit is contained in:
parent
15b4df3b2b
commit
244779ed19
|
@ -6,6 +6,10 @@
|
||||||
#ifndef VERSION_H
|
#ifndef VERSION_H
|
||||||
#define VERSION_H
|
#define VERSION_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
extern const char* const gitCommit;
|
extern const char* const gitCommit;
|
||||||
extern const char* const gitCommitShort;
|
extern const char* const gitCommitShort;
|
||||||
extern const char* const gitBranch;
|
extern const char* const gitBranch;
|
||||||
|
@ -14,4 +18,8 @@ extern const char* const binaryName;
|
||||||
extern const char* const projectName;
|
extern const char* const projectName;
|
||||||
extern const char* const projectVersion;
|
extern const char* const projectVersion;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue