summaryrefslogtreecommitdiff
path: root/objXSUB.h
diff options
context:
space:
mode:
Diffstat (limited to 'objXSUB.h')
-rw-r--r--objXSUB.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/objXSUB.h b/objXSUB.h
index 1e70169fd0..76b2e73081 100644
--- a/objXSUB.h
+++ b/objXSUB.h
@@ -885,7 +885,7 @@
#define Perl_my_atof pPerl->Perl_my_atof
#undef my_atof
#define my_atof Perl_my_atof
-#if !defined(HAS_BCOPY) || !defined(HAS_SAFE_BCOPY)
+#if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
#undef Perl_my_bcopy
#define Perl_my_bcopy pPerl->Perl_my_bcopy
#undef my_bcopy