mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 21:45:12 +00:00
fix the MXE fix for os_libc.h
This commit is contained in:
parent
8736776545
commit
385e396feb
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@
|
||||||
// Old deprecated functions from strings.h, replaced by memcpy/memset.
|
// Old deprecated functions from strings.h, replaced by memcpy/memset.
|
||||||
#ifdef NO_BZERO
|
#ifdef NO_BZERO
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#define bzero(buf, size) memset(buf, 0, size)
|
#define bzero(buf, size) memset((buf), 0, (size))
|
||||||
#define bcopy(src, dst, size) memcpy(dst, src, size)
|
#define bcopy(src, dst, size) memcpy((dst), (src), (size))
|
||||||
#else
|
#else
|
||||||
extern void bcopy(const void *, void *, size_t);
|
extern void bcopy(const void *, void *, size_t);
|
||||||
extern void bzero(void *, size_t);
|
extern void bzero(void *, size_t);
|
||||||
|
|
Loading…
Reference in a new issue