1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-18 01:40:06 +02:00

(mempcpy): Define only if not already defined.

Reported by Collin Rogowski.
This commit is contained in:
Jim Meyering
1999-07-12 08:37:31 +00:00
parent f484303d9e
commit fae10f70e0

View File

@@ -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