mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Comment out config_get_uint64 when compiling for C89
This commit is contained in:
parent
1cd1ecfc5c
commit
1e006e3edc
@ -617,6 +617,7 @@ bool config_get_int(config_file_t *conf, const char *key, int *in)
|
|||||||
return entry != NULL && errno == 0;
|
return entry != NULL && errno == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef C89_BUILD
|
||||||
bool config_get_uint64(config_file_t *conf, const char *key, uint64_t *in)
|
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);
|
const struct config_entry_list *entry = config_get_entry(conf, key, NULL);
|
||||||
@ -632,6 +633,7 @@ bool config_get_uint64(config_file_t *conf, const char *key, uint64_t *in)
|
|||||||
|
|
||||||
return entry != NULL && errno == 0;
|
return entry != NULL && errno == 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool config_get_uint(config_file_t *conf, const char *key, unsigned *in)
|
bool config_get_uint(config_file_t *conf, const char *key, unsigned *in)
|
||||||
{
|
{
|
||||||
|
@ -89,8 +89,10 @@ bool config_get_int(config_file_t *conf, const char *entry, int *in);
|
|||||||
/* Extracts an uint from config file. */
|
/* Extracts an uint from config file. */
|
||||||
bool config_get_uint(config_file_t *conf, const char *entry, unsigned *in);
|
bool config_get_uint(config_file_t *conf, const char *entry, unsigned *in);
|
||||||
|
|
||||||
|
#ifndef C89_BUILD
|
||||||
/* Extracts an uint64 from config file. */
|
/* Extracts an uint64 from config file. */
|
||||||
bool config_get_uint64(config_file_t *conf, const char *entry, uint64_t *in);
|
bool config_get_uint64(config_file_t *conf, const char *entry, uint64_t *in);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Extracts an unsigned int from config file treating input as hex. */
|
/* Extracts an unsigned int from config file treating input as hex. */
|
||||||
bool config_get_hex(config_file_t *conf, const char *entry, unsigned *in);
|
bool config_get_hex(config_file_t *conf, const char *entry, unsigned *in);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user