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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22189 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2005-06-02 05:38:20 +00:00
parent e3c8c0a49d
commit 932e2e33eb

View File

@ -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;