diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc index 21da4ad97f8..b371d00e69b 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;