mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-20 19:40:39 +00:00
Add C89 workaround
This commit is contained in:
parent
4c7ae72c62
commit
4b9143430c
@ -99,13 +99,20 @@ static int database_info_iterate_start(database_info_handle_t *db,
|
||||
db->list->size,
|
||||
msg_hash_to_str(MSG_SCANNING),
|
||||
name);
|
||||
#else
|
||||
#elif defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L
|
||||
snprintf(msg, sizeof(msg),
|
||||
"%zu/%zu: %s %s...\n",
|
||||
db->list_ptr,
|
||||
db->list->size,
|
||||
msg_hash_to_str(MSG_SCANNING),
|
||||
name);
|
||||
#else
|
||||
snprintf(msg, sizeof(msg),
|
||||
"%lu/%lu: %s %s...\n",
|
||||
(unsigned long)db->list_ptr,
|
||||
(unsigned long)db->list->size,
|
||||
msg_hash_to_str(MSG_SCANNING),
|
||||
name);
|
||||
#endif
|
||||
|
||||
if (!string_is_empty(msg))
|
||||
|
Loading…
x
Reference in New Issue
Block a user