mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 13:45:03 -05:00
Change the gcc options for sdl builds to allow for gnu99 features, it needs some fixes in other places. Fixes test_mem compilation failure on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28723 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
589d2110dc
commit
921ac8d6dd
7 changed files with 11 additions and 23 deletions
|
|
@ -1,22 +1,7 @@
|
|||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
static inline bool isspace(char c)
|
||||
{
|
||||
return (c == ' ') || (c == '\t') || (c == '\n');
|
||||
}
|
||||
|
||||
static inline bool isdigit(char c)
|
||||
{
|
||||
return (c >= '0') && (c <= '9');
|
||||
}
|
||||
|
||||
static inline bool isxdigit(char c)
|
||||
{
|
||||
return ((c >= '0') && (c <= '9'))
|
||||
|| ((c >= 'a') && (c <= 'f')) || ((c >= 'A') && (c <= 'F'));
|
||||
}
|
||||
#include <ctype.h>
|
||||
|
||||
static int parse_dec(int (*peek)(void *userp),
|
||||
void (*pop)(void *userp),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue