summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2001-06-12 13:11:52 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-13 00:07:50 +0000
commit2253333fe456e42259ae7571ab31af43f7c33890 (patch)
tree2ee5f630f74619a733c8685d823dd8f051ab3a2f /embed.h
parenta290f2384a92c4c0c351e74a4ac9cc083281dcb2 (diff)
downloadperl-2253333fe456e42259ae7571ab31af43f7c33890.tar.gz
Small bcopy cleanup
Message-ID: <Pine.SOL.4.10.10106121706360.11034-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@10542
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed.h b/embed.h
index 2cbdd6226f..1191893fb4 100644
--- a/embed.h
+++ b/embed.h
@@ -420,7 +420,7 @@
#define moreswitches Perl_moreswitches
#define my Perl_my
#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))
#define my_bcopy Perl_my_bcopy
#endif
#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
@@ -1925,7 +1925,7 @@
#define moreswitches(a) Perl_moreswitches(aTHX_ a)
#define my(a) Perl_my(aTHX_ a)
#define my_atof(a) Perl_my_atof(aTHX_ a)
-#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))
#define my_bcopy Perl_my_bcopy
#endif
#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
@@ -3778,7 +3778,7 @@
#define my Perl_my
#define Perl_my_atof CPerlObj::Perl_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))
#define Perl_my_bcopy CPerlObj::Perl_my_bcopy
#define my_bcopy Perl_my_bcopy
#endif