diff options
-rw-r--r-- | lib/System/Unix/Path.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc index 21da4ad97f..b371d00e69 100644 --- a/lib/System/Unix/Path.inc +++ b/lib/System/Unix/Path.inc @@ -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; |