-/* $OpenBSD: systm.h,v 1.130 2017/05/18 09:15:16 kettenis Exp $ */
+/* $OpenBSD: systm.h,v 1.131 2017/05/29 12:12:35 tedu Exp $ */
/* $NetBSD: systm.h,v 1.50 1996/06/09 04:55:09 briggs Exp $ */
/*-
#define memcmp(b1, b2, n) __builtin_memcmp((b1), (b2), (n))
#define memcpy(d, s, n) __builtin_memcpy((d), (s), (n))
#define memset(b, c, n) __builtin_memset((b), (c), (n))
+#if (defined(__GNUC__) && __GNUC__ >= 4)
+#define memmove(d, s, n) __builtin_memmove((d), (s), (n))
+#endif
#if !defined(__clang__) && (defined(__GNUC__) && __GNUC__ >= 4)
#define bcmp(b1, b2, n) __builtin_bcmp((b1), (b2), (n))
#define bcopy(s, d, n) __builtin_bcopy((s), (d), (n))
-#define memmove(d, s, n) __builtin_memmove((d), (s), (n))
#endif
#if defined(DDB)