all repos — mgba @ 244779ed195851b03a82a39cee6101cca6bba6c8

mGBA Game Boy Advance Emulator

Add 'extern "C"' guards to version.h.
waddlesplash waddlesplash@gmail.com
Fri, 17 Mar 2017 11:43:43 -0400
commit

244779ed195851b03a82a39cee6101cca6bba6c8

parent

15b4df3b2b021e9fa08f179316c4945ea0125e7a

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
M include/mgba/core/version.hinclude/mgba/core/version.h

@@ -6,6 +6,10 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#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;

@@ -13,5 +17,9 @@ extern const int gitRevision;

extern const char* const binaryName; extern const char* const projectName; extern const char* const projectVersion; + +#ifdef __cplusplus +} +#endif #endif