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
This commit is contained in:
parent
b604074cad
commit
701b701b54
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue