mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
SCM: Use std::string.
Those macros may be defined, or not. We should support both cases, so use std::string as it also defines the length of the string.
This commit is contained in:
parent
dbd67c6b06
commit
2030ad4577
11 changed files with 31 additions and 32 deletions
|
@ -7,13 +7,14 @@
|
|||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
|
||||
// Git version number
|
||||
extern const char* scm_desc_str;
|
||||
extern const char* scm_branch_str;
|
||||
extern const char* scm_rev_str;
|
||||
extern const char* scm_rev_git_str;
|
||||
extern const char* netplay_dolphin_ver;
|
||||
extern const std::string scm_desc_str;
|
||||
extern const std::string scm_branch_str;
|
||||
extern const std::string scm_rev_str;
|
||||
extern const std::string scm_rev_git_str;
|
||||
extern const std::string netplay_dolphin_ver;
|
||||
|
||||
// Force enable logging in the right modes. For some reason, something had changed
|
||||
// so that debugfast no longer logged.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue