summaryrefslogtreecommitdiffstats
path: root/compiler-rt/SDKs/linux/usr/include
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-03-30 21:37:08 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-03-30 21:37:08 +0000
commit185f2edd70a34d28b305df0cd8ce519ecbca2cfd (patch)
treed55904eee7b3b44f5c19ee8cc16afe58f1c05b46 /compiler-rt/SDKs/linux/usr/include
parentf9582a705a128ad6cd62ac9a5da94399f0ea6050 (diff)
downloadbcm5719-llvm-185f2edd70a34d28b305df0cd8ce519ecbca2cfd.tar.gz
bcm5719-llvm-185f2edd70a34d28b305df0cd8ce519ecbca2cfd.zip
Fix the build on 32 bit hosts.
- Add memcpy and memcmp to the stub headers. - __uint128_t is not available on 32 bit platforms. It's also unused so just comment it out for now. llvm-svn: 153779
Diffstat (limited to 'compiler-rt/SDKs/linux/usr/include')
-rw-r--r--compiler-rt/SDKs/linux/usr/include/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/SDKs/linux/usr/include/string.h b/compiler-rt/SDKs/linux/usr/include/string.h
index 5e91109378e..bee9d46cddc 100644
--- a/compiler-rt/SDKs/linux/usr/include/string.h
+++ b/compiler-rt/SDKs/linux/usr/include/string.h
@@ -19,6 +19,8 @@
typedef __SIZE_TYPE__ size_t;
+int memcmp(const void *, const void *, size_t);
+void *memcpy(void *, const void *, size_t);
char *strcat(char *, const char *);
char *strcpy(char *, const char *);
char *strdup(const char *);
OpenPOWER on IntegriCloud