[llvm-commits] CVS: llvm/lib/System/Unix/Path.inc

Reid Spencer reid at x10sys.com
Wed Jun 1 22:38:31 PDT 2005



Changes in directory llvm/lib/System/Unix:

Path.inc updated: 1.34 -> 1.35
---
Log message:

Put in a hack for Cygwin that prevents mkdtemp from being used since
configure seems to find it on Cygwin but linking against it fails.


---
Diffs of the changes:  (+5 -0)

 Path.inc |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/lib/System/Unix/Path.inc
diff -u llvm/lib/System/Unix/Path.inc:1.34 llvm/lib/System/Unix/Path.inc:1.35
--- llvm/lib/System/Unix/Path.inc:1.34	Thu May  5 17:33:06 2005
+++ llvm/lib/System/Unix/Path.inc	Thu Jun  2 00:38:20 2005
@@ -47,6 +47,11 @@
 # 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;






More information about the llvm-commits mailing list