Skip to content

Commit 9738a81

Browse files
authored
Merge pull request #146 from kwakobo/fix-appleStrncmp
Add APPLE macro for SyStrncmp
2 parents 5d37f90 + 837e774 commit 9738a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unqlite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26992,7 +26992,7 @@ JX9_PRIVATE sxi32 SyByteListFind(const char *zSrc, sxu32 nLen, const char *zList
2699226992
}
2699326993
return SXERR_NOTFOUND;
2699426994
}
26995-
#ifndef JX9_DISABLE_BUILTIN_FUNC
26995+
#if !defined(JX9_DISABLE_BUILTIN_FUNC) || defined(__APPLE__)
2699626996
JX9_PRIVATE sxi32 SyStrncmp(const char *zLeft, const char *zRight, sxu32 nLen)
2699726997
{
2699826998
const unsigned char *zP = (const unsigned char *)zLeft;

0 commit comments

Comments
 (0)