mirror of https://github.com/mgba-emu/mgba.git
Util: Fix build with strndup on some platforms
This commit is contained in:
parent
c19673ce40
commit
938c9e965d
|
@ -3,7 +3,11 @@
|
|||
|
||||
#include "util/common.h"
|
||||
|
||||
#ifndef strndup
|
||||
// This is sometimes a macro
|
||||
char* strndup(const char* start, size_t len);
|
||||
#endif
|
||||
|
||||
char* strnrstr(const char* restrict s1, const char* restrict s2, size_t len);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue