1 /* Copyright (c) 2013-2016 Jeffrey Pfau 2 * 3 * This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 #ifndef VERSION_H 7 #define VERSION_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 #ifdef MGBA_STANDALONE 14 #define MGBA_EXPORT 15 #else 16 #include <mgba-util/dllexports.h> 17 #endif 18 19 extern MGBA_EXPORT const char* const gitCommit; 20 extern MGBA_EXPORT const char* const gitCommitShort; 21 extern MGBA_EXPORT const char* const gitBranch; 22 extern MGBA_EXPORT const int gitRevision; 23 extern MGBA_EXPORT const char* const binaryName; 24 extern MGBA_EXPORT const char* const projectName; 25 extern MGBA_EXPORT const char* const projectVersion; 26 27 #ifdef __cplusplus 28 } 29 #endif 30 31 #endif 32