mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Dehardcode C89_BUILD ifdefs
This commit is contained in:
parent
1186042e44
commit
40e8f4eba6
@ -617,7 +617,7 @@ bool config_get_int(config_file_t *conf, const char *key, int *in)
|
||||
return entry != NULL && errno == 0;
|
||||
}
|
||||
|
||||
#ifndef C89_BUILD
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L
|
||||
bool config_get_uint64(config_file_t *conf, const char *key, uint64_t *in)
|
||||
{
|
||||
const struct config_entry_list *entry = config_get_entry(conf, key, NULL);
|
||||
|
@ -107,7 +107,7 @@ bool config_get_int(config_file_t *conf, const char *entry, int *in);
|
||||
/* Extracts an uint from config file. */
|
||||
bool config_get_uint(config_file_t *conf, const char *entry, unsigned *in);
|
||||
|
||||
#ifndef C89_BUILD
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L
|
||||
/* Extracts an uint64 from config file. */
|
||||
bool config_get_uint64(config_file_t *conf, const char *entry, uint64_t *in);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user