Index: newlib/libc/string/memcpy.c |
diff --git a/newlib/libc/string/memcpy.c b/newlib/libc/string/memcpy.c |
index 2d73453584f3a33f39c9aba11bc694d92d00a4ad..0cde841e7d6334dbbbb559710d2d944ae4cd1abe 100644 |
--- a/newlib/libc/string/memcpy.c |
+++ b/newlib/libc/string/memcpy.c |
@@ -36,9 +36,11 @@ QUICKREF |
/* |
* The body of this function should not appear in PNaCl bitcode. |
+ * We use PNACL_BITCODE instead of __le32__ or __pnacl__ since this |
+ * should also apply to biased bitcode. |
* See https://code.google.com/p/nativeclient/issues/detail?id=3493 |
*/ |
-#ifndef __pnacl__ |
+#ifndef PNACL_BITCODE |
#include <_ansi.h> |
#include <string.h> |
@@ -116,4 +118,4 @@ _DEFUN (memcpy, (dst0, src0, len0), |
#endif /* not PREFER_SIZE_OVER_SPEED */ |
} |
-#endif /* __pnacl__ */ |
+#endif /* PNACL_BITCODE */ |