Commit 701b701b by Danny Smith Committed by Danny Smith

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

2004-01-16  Danny Smith  <dannysmith@users.sourceforge.net>

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

From-SVN: r75963
parent b604074c
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> 2004-01-15 Stefan Olsson <stefan@snon.net>
* include/ext/mt_allocator.h: Reuse thread id's as soon as * include/ext/mt_allocator.h: Reuse thread id's as soon as
......
...@@ -211,8 +211,8 @@ namespace __gnu_test ...@@ -211,8 +211,8 @@ namespace __gnu_test
int int
try_mkfifo (const char* filename, mode_t mode) try_mkfifo (const char* filename, mode_t mode)
{ {
#ifdef _NEWLIB_VERSION #if defined (_NEWLIB_VERSION) || defined (__MINGW32_VERSION)
/* Newlib does not have mkfifo. */ /* Newlib and MinGW32 do not have mkfifo. */
exit(0); exit(0);
#else #else
return mkfifo(filename, mode); return mkfifo(filename, mode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment