mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Fix regex.c for android.
Android's headers declare bcmp etc in strings.h, but don't the functions don't exist in the libs.
This commit is contained in:
parent
201532ea7e
commit
8c3db9a10d
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@
|
|||
`BSTRING', as far as I know, and neither of them use this code. */
|
||||
#if HAVE_STRING_H || STDC_HEADERS
|
||||
#include <string.h>
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif
|
||||
#ifndef bcmp
|
||||
#define bcmp(s1, s2, n) memcmp ((s1), (s2), (n))
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue