diff options
author | WenHan Gu <Wenhan.gu@mediatek.com> | 2013-10-31 14:51:24 +0800 |
---|---|---|
committer | WenHan Gu <Wenhan.gu@mediatek.com> | 2013-10-31 14:51:24 +0800 |
commit | 9e0c57b053f962d753a395bb001f1a1258b7e149 (patch) | |
tree | 69cf93c46fba0a08b0a15f837344902b2eba4634 | |
parent | 1f580576657f7f789d6c7b1718eb568a06cbe7c0 (diff) | |
download | llvm-release_32.tar.gz |
Remove unnecessary (and mismatched) mkdtemp declaration.release_32
After https://android-review.googlesource.com/#/c/68700/
we should take out this declaration since it is unnecessary
and mismatched from NDK version.
Change-Id: I3339a173957ff4e72022e1dc4ea80e5111aa5a4a
-rw-r--r-- | lib/Support/Unix/Path.inc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Support/Unix/Path.inc b/lib/Support/Unix/Path.inc index e32b4745e55..6a5ebb8cd9c 100644 --- a/lib/Support/Unix/Path.inc +++ b/lib/Support/Unix/Path.inc @@ -71,12 +71,6 @@ # undef HAVE_MKDTEMP #endif -// Put in a hack for Android which does not declare the prototype of -// mkdtemp() in stdlib.h, but with the implementation in libc.so. -#if defined(__ANDROID__) && defined(HAVE_MKDTEMP) -extern "C" char *mkdtemp(const char *); -#endif - namespace { inline bool lastIsSlash(const std::string& path) { return !path.empty() && path[path.length() - 1] == '/'; |