* testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
mkfifo for mingw32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75963
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
+ mkfifo for mingw32.
+
2004-01-15 Stefan Olsson <stefan@snon.net>
* include/ext/mt_allocator.h: Reuse thread id's as soon as
int
try_mkfifo (const char* filename, mode_t mode)
{
-#ifdef _NEWLIB_VERSION
- /* Newlib does not have mkfifo. */
+#if defined (_NEWLIB_VERSION) || defined (__MINGW32_VERSION)
+ /* Newlib and MinGW32 do not have mkfifo. */
exit(0);
#else
return mkfifo(filename, mode);