aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-01-17 13:06:36 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-01-17 13:06:36 -0800
commitb3c9dc1aead8d6085fd8cdd314bdd9a35aa09815 (patch)
tree553506c5c57dc22cc538c94df3d6fc6626ad8d12 /gcc/system.h
parentef2b940d6c50420bea962f022bfc7218eec612ed (diff)
downloadgcc-b3c9dc1aead8d6085fd8cdd314bdd9a35aa09815.zip
gcc-b3c9dc1aead8d6085fd8cdd314bdd9a35aa09815.tar.gz
gcc-b3c9dc1aead8d6085fd8cdd314bdd9a35aa09815.tar.bz2
* system.h (bcopy): Implement with memmove not memcpy.
From-SVN: r24727
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 12c0a77..4e11218 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -220,7 +220,7 @@ extern int errno;
extern void bcopy ();
# endif
# else /* ! HAVE_BCOPY */
-# define bcopy(src,dst,len) memcpy ((dst),(src),(len))
+# define bcopy(src,dst,len) memmove((dst),(src),(len))
# endif
#endif