diff options
author | Jim Meyering <jim@meyering.net> | 1999-07-12 08:37:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-07-12 08:37:31 +0000 |
commit | fae10f70e0d4a28c45d2c792e1a47489e511d94e (patch) | |
tree | 030393a53ed60e30c59ae7f2b40cadbcace13fc1 | |
parent | f484303d9e588b78043f0c24cab9b2a4fd09b869 (diff) | |
download | coreutils-fae10f70e0d4a28c45d2c792e1a47489e511d94e.tar.xz |
(mempcpy): Define only if not already defined.
Reported by Collin Rogowski.
-rw-r--r-- | src/sys2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys2.h b/src/sys2.h index 06f70bd15..a0045f13c 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -167,7 +167,7 @@ off_t lseek (); #include "xalloc.h" -#ifndef HAVE_MEMPCPY +#if ! defined HAVE_MEMPCPY && ! defined mempcpy /* Be CAREFUL that there are no side effects in N. */ # define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N))) #endif |