aboutsummaryrefslogtreecommitdiff
path: root/src/common/sysdefs.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common/sysdefs.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/common/sysdefs.h b/src/common/sysdefs.h
index 8ebe476f..2c7fb6ff 100644
--- a/src/common/sysdefs.h
+++ b/src/common/sysdefs.h
@@ -132,19 +132,8 @@ typedef unsigned char _Bool;
// Macros //
////////////
-#ifndef HAVE_MEMCPY
-# define memcpy(dest, src, n) bcopy(src, dest, n)
-#endif
-
-#ifndef HAVE_MEMMOVE
-# define memmove(dest, src, n) bcopy(src, dest, n)
-#endif
-
-#ifdef HAVE_MEMSET
-# define memzero(s, n) memset(s, 0, n)
-#else
-# define memzero(s, n) bzero(s, n)
-#endif
+#undef memzero
+#define memzero(s, n) memset(s, 0, n)
#ifndef MIN
# define MIN(x, y) ((x) < (y) ? (x) : (y))