OSDN Git Service

2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jan 2004 08:43:45 +0000 (08:43 +0000)
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jan 2004 08:43:45 +0000 (08:43 +0000)
* 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

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/testsuite_hooks.cc

index 4ea985b..9e45eb0 100644 (file)
@@ -1,3 +1,8 @@
+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
index 21c0c0c..1271b56 100644 (file)
@@ -211,8 +211,8 @@ namespace __gnu_test
   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);