mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
avoid unnecessary function defitiion on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25795 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
656258dd5c
commit
1957e4a9b4
1 changed files with 5 additions and 2 deletions
|
@ -908,8 +908,10 @@ static void MD5Transform (uint32_t buf[4], uint32_t const in[16])
|
||||||
*/
|
*/
|
||||||
@implementation NSError(GSCategories)
|
@implementation NSError(GSCategories)
|
||||||
|
|
||||||
#ifndef HAVE_STRERROR_R
|
|
||||||
#ifdef HAVE_STRERROR
|
#if !defined(__MINGW32__)
|
||||||
|
#if !defined(HAVE_STRERROR_R)
|
||||||
|
#if defined(HAVE_STRERROR)
|
||||||
static int
|
static int
|
||||||
strerror_r(int eno, char *buf, int len)
|
strerror_r(int eno, char *buf, int len)
|
||||||
{
|
{
|
||||||
|
@ -948,6 +950,7 @@ strerror_r(int eno, char *buf, int len)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns an NSError instance encapsulating the last system error.
|
* Returns an NSError instance encapsulating the last system error.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue