mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 03:35:22 +00:00
Fix jsonsax compilation on QNX, 'index' appears to be a reserved symbol
This commit is contained in:
parent
b85e2a8897
commit
453d823d2a
@ -146,7 +146,7 @@ static void jsonx_parse_array(state_t* state)
|
||||
|
||||
while ( *state->json != ']' )
|
||||
{
|
||||
HANDLE_1( index, ndx++ );
|
||||
HANDLE_1( array_index, ndx++ );
|
||||
jsonx_parse_value( state );
|
||||
skip_spaces( state );
|
||||
|
||||
|
@ -51,7 +51,7 @@ typedef struct
|
||||
int ( *start_array )( void* userdata );
|
||||
int ( *end_array )( void* userdata );
|
||||
int ( *key )( void* userdata, const char* name, size_t length );
|
||||
int ( *index )( void* userdata, unsigned int index );
|
||||
int ( *array_index )( void* userdata, unsigned int index );
|
||||
int ( *string )( void* userdata, const char* string, size_t length );
|
||||
int ( *number )( void* userdata, const char* number, size_t length );
|
||||
int ( *boolean )( void* userdata, int istrue );
|
||||
|
Loading…
x
Reference in New Issue
Block a user