mirror of
https://github.com/izzy2lost/sm64-izzys-port-android.git
synced 2026-07-05 15:19:31 -07:00
MXE fix for os_libc.h
This commit is contained in:
@@ -4,7 +4,13 @@
|
||||
#include "ultratypes.h"
|
||||
|
||||
// Old deprecated functions from strings.h, replaced by memcpy/memset.
|
||||
#ifdef NO_BZERO
|
||||
#include <string.h>
|
||||
#define bzero(buf, size) memset(buf, 0, size)
|
||||
#define bcopy(src, dst, size) memcpy(dst, src, size)
|
||||
#else
|
||||
extern void bcopy(const void *, void *, size_t);
|
||||
extern void bzero(void *, size_t);
|
||||
#endif
|
||||
|
||||
#endif /* !_OS_LIBC_H_ */
|
||||
|
||||
Reference in New Issue
Block a user