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:
rfm 2007-12-29 09:30:31 +00:00
parent 656258dd5c
commit 1957e4a9b4

View file

@ -908,8 +908,10 @@ static void MD5Transform (uint32_t buf[4], uint32_t const in[16])
*/
@implementation NSError(GSCategories)
#ifndef HAVE_STRERROR_R
#ifdef HAVE_STRERROR
#if !defined(__MINGW32__)
#if !defined(HAVE_STRERROR_R)
#if defined(HAVE_STRERROR)
static int
strerror_r(int eno, char *buf, int len)
{
@ -948,6 +950,7 @@ strerror_r(int eno, char *buf, int len)
}
#endif
#endif
#endif
/*
* Returns an NSError instance encapsulating the last system error.