mirror of
https://github.com/libretro/mgba.git
synced 2024-11-30 19:50:34 +00:00
Add 'extern "C"' guards to version.h.
This commit is contained in:
parent
15b4df3b2b
commit
244779ed19
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user