Put in a hack for Cygwin that prevents mkdtemp from being used since
authorReid Spencer <rspencer@reidspencer.com>
Thu, 2 Jun 2005 05:38:20 +0000 (05:38 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 2 Jun 2005 05:38:20 +0000 (05:38 +0000)
configure seems to find it on Cygwin but linking against it fails.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22189 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Unix/Path.inc

index 21da4ad97f8e39e8f2c6e94d79c6d63bbb346f65..b371d00e69ba0a3ecba3794a02dd2df34bdbc9ca 100644 (file)
 # endif
 #endif
 
+// Put in a hack for Cygwin which falsely reports that the mkdtemp function
+// is available when it is not.
+#ifdef __CYGWIN__
+# undef HAVE_MKDTEMP
+#endif
 
 namespace llvm {
 using namespace sys;