]> gcc.gnu.org Git - gcc.git/commitdiff
testsuite_hooks.cc (try_mkfifo): Avoid calling mkfifo for mingw32.
authorDanny Smith <dannysmith@users.sourceforge.net>
Fri, 16 Jan 2004 08:43:45 +0000 (08:43 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Fri, 16 Jan 2004 08:43:45 +0000 (08:43 +0000)
2004-01-16  Danny Smith  <dannysmith@users.sourceforge.net>

* testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
mkfifo for mingw32.

From-SVN: r75963

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

index 4ea985bd8aeead18377c971747b7bcc63f5ed7a1..9e45eb0ce3bf30afc9357f0d1cd6ee2d8a6b0dcd 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 21c0c0c77e7094f69b7a050e855276e2b024a4f4..1271b5653a56fdff8fdb8acc41eb00d7b6d3d959 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);
This page took 0.073178 seconds and 5 git commands to generate.