aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/portdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/portdefs.h')
-rw-r--r--ports/linux/portdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/linux/portdefs.h b/ports/linux/portdefs.h
index f0a0e40..cf6b375 100644
--- a/ports/linux/portdefs.h
+++ b/ports/linux/portdefs.h
@@ -20,7 +20,7 @@
*/
#define GLIBC_COMPAT_SYMBOL(sym, ver) __asm(".symver " #sym "," #sym "@GLIBC_" #ver)
-#ifdef __amd64__
+#if defined(__amd64__) && !defined(__ILP32__)
GLIBC_COMPAT_SYMBOL(memcpy,2.2.5);
#elif defined(__i386__)
GLIBC_COMPAT_SYMBOL(memcpy,2.0);