Rename rarch_git_version to retroarch_git_version
This commit is contained in:
parent
5cc86384b8
commit
0e972b9804
|
@ -17,5 +17,5 @@
|
||||||
#include "git_version.h"
|
#include "git_version.h"
|
||||||
#define STR_(x) #x
|
#define STR_(x) #x
|
||||||
#define STR(x) STR_(x)
|
#define STR(x) STR_(x)
|
||||||
const char rarch_git_version[] = STR(GIT_VERSION);
|
const char retroarch_git_version[] = STR(GIT_VERSION);
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ extern "C" {
|
||||||
|
|
||||||
/* Put this in a separate file so we don't have to rebuilt
|
/* Put this in a separate file so we don't have to rebuilt
|
||||||
* retroarch.c every single build. */
|
* retroarch.c every single build. */
|
||||||
extern const char rarch_git_version[];
|
extern const char retroarch_git_version[];
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -619,7 +619,7 @@ static int menu_displaylist_parse_system_info(menu_displaylist_info_t *info)
|
||||||
strlcpy(tmp, menu_hash_to_str(MENU_LABEL_VALUE_SYSTEM_INFO_GIT_VERSION),
|
strlcpy(tmp, menu_hash_to_str(MENU_LABEL_VALUE_SYSTEM_INFO_GIT_VERSION),
|
||||||
sizeof(tmp));
|
sizeof(tmp));
|
||||||
strlcat(tmp, ": ", sizeof(tmp));
|
strlcat(tmp, ": ", sizeof(tmp));
|
||||||
strlcat(tmp, rarch_git_version, sizeof(tmp));
|
strlcat(tmp, retroarch_git_version, sizeof(tmp));
|
||||||
menu_entries_add(info->list, tmp, "",
|
menu_entries_add(info->list, tmp, "",
|
||||||
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -176,7 +176,7 @@ static void retroarch_print_version(void)
|
||||||
fprintf(stderr, "%s: Frontend for libretro -- v%s",
|
fprintf(stderr, "%s: Frontend for libretro -- v%s",
|
||||||
msg_hash_to_str(MSG_PROGRAM), PACKAGE_VERSION);
|
msg_hash_to_str(MSG_PROGRAM), PACKAGE_VERSION);
|
||||||
#ifdef HAVE_GIT_VERSION
|
#ifdef HAVE_GIT_VERSION
|
||||||
printf(" -- %s --\n", rarch_git_version);
|
printf(" -- %s --\n", retroarch_git_version);
|
||||||
#endif
|
#endif
|
||||||
retroarch_get_capabilities(RARCH_CAPABILITIES_COMPILER, str, sizeof(str));
|
retroarch_get_capabilities(RARCH_CAPABILITIES_COMPILER, str, sizeof(str));
|
||||||
fprintf(stdout, "%s", str);
|
fprintf(stdout, "%s", str);
|
||||||
|
@ -1249,7 +1249,7 @@ static int retroarch_main_init(int argc, char *argv[])
|
||||||
fprintf(stderr, "Built: %s\n", __DATE__);
|
fprintf(stderr, "Built: %s\n", __DATE__);
|
||||||
RARCH_LOG_OUTPUT("Version: %s\n", PACKAGE_VERSION);
|
RARCH_LOG_OUTPUT("Version: %s\n", PACKAGE_VERSION);
|
||||||
#ifdef HAVE_GIT_VERSION
|
#ifdef HAVE_GIT_VERSION
|
||||||
RARCH_LOG_OUTPUT("Git: %s\n", rarch_git_version);
|
RARCH_LOG_OUTPUT("Git: %s\n", retroarch_git_version);
|
||||||
#endif
|
#endif
|
||||||
RARCH_LOG_OUTPUT("=================================================\n");
|
RARCH_LOG_OUTPUT("=================================================\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue