Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/app/gpr_tools/main_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,18 @@
*/

#include <stdio.h>
#ifndef _WIN32
#include <strings.h>
#endif
#include <string.h>
#include <stdbool.h>

#include "gpr.h"

#if defined __GNUC__
#define stricmp strcasecmp
#elif defined _WIN32
#define stricmp _stricmp
#else
#endif // if defined __GNUC__

Expand Down
4 changes: 2 additions & 2 deletions source/lib/expat_lib/xmltok.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ E ## toUtf8(const ENCODING *enc, \
*(*toP)++ = lo; \
break; \
} \
__attribute((fallthrough)); \
FALL_THROUGH; \
/* fall through */ \
case 0x1: case 0x2: case 0x3: \
case 0x4: case 0x5: case 0x6: case 0x7: \
Expand Down Expand Up @@ -1540,7 +1540,7 @@ initScan(const ENCODING * const *encodingTable,
if (INIT_ENC_INDEX(enc) == ISO_8859_1_ENC
&& state == XML_CONTENT_STATE)
break;
__attribute((fallthrough));
FALL_THROUGH;
/* fall through */
case 0x00:
case 0x3C:
Expand Down
4 changes: 2 additions & 2 deletions source/lib/expat_lib/xmltok_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
*nextTokPtr = ptr; \
return XML_TOK_INVALID; \
} \
__attribute((fallthrough)); \
FALL_THROUGH; \
case BT_NMSTRT: \
case BT_HEX: \
case BT_DIGIT: \
Expand Down Expand Up @@ -76,7 +76,7 @@
*nextTokPtr = ptr; \
return XML_TOK_INVALID; \
} \
__attribute((fallthrough)); \
FALL_THROUGH; \
case BT_NMSTRT: \
case BT_HEX: \
ptr += MINBPC(enc); \
Expand Down