aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Unix/Path.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Unix/Path.inc')
-rw-r--r--lib/Support/Unix/Path.inc6
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] == '/';