Dehardcode C89_BUILD ifdefs

This commit is contained in:
twinaphex 2015-11-25 02:10:31 +01:00
parent 1186042e44
commit 40e8f4eba6
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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