Skip to content

Commit

Permalink
Added strings.h include to resolve strncasecmp on some systems (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
empyreanx authored Aug 12, 2024
1 parent ad9cce3 commit b3fca23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cute_tiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ struct strpool_embedded_t
#define STRPOOL_EMBEDDED_STRNICMP( s1, s2, len ) ( _strnicmp( s1, s2, len ) )
#else
#include <string.h>
#include <strings.h>
#define STRPOOL_EMBEDDED_STRNICMP( s1, s2, len ) ( strncasecmp( s1, s2, len ) )
#endif
#endif
Expand Down

0 comments on commit b3fca23

Please sign in to comment.