Skip to content

Commit 0976d96

Browse files
ksagameng2a1batross
authored andcommitted
crtlib: Force use xash strchrnul implementation on ios
1 parent e39f8bf commit 0976d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/crtlib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ static inline char *Q_stristr( const char *s1, const char *s2 )
288288
char *Q_stristr( const char *s1, const char *s2 );
289289
#endif // !HAVE_STRCASESTR
290290

291-
#if HAVE_STRCHRNUL
291+
#if HAVE_STRCHRNUL && !XASH_IOS
292292
#define Q_strchrnul strchrnul
293293
#else // !HAVE_STRCHRNUL
294294
static inline char *Q_strchrnul( const char *s, int c )

0 commit comments

Comments
 (0)