fix the MXE fix for os_libc.h
This commit is contained in:
parent
06d1ca4a6a
commit
61fc6410df
|
@ -6,8 +6,8 @@
|
|||
// 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)
|
||||
#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);
|
||||
|
|
Loading…
Reference in New Issue