mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-10 08:10:49 +00:00
mingw tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32488 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
218582e63c
commit
6bdce1cf05
4 changed files with 5565 additions and 6087 deletions
|
@ -1,8 +1,5 @@
|
||||||
/* Headers/Additions/GNUstepBase/config.h.in. Generated from configure.ac by autoheader. */
|
/* Headers/Additions/GNUstepBase/config.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
/* Define if building universal (internal helper macro) */
|
|
||||||
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
||||||
|
|
||||||
/* The normal alignment of `pthread_cond_t', in bytes. */
|
/* The normal alignment of `pthread_cond_t', in bytes. */
|
||||||
#undef ALIGNOF_PTHREAD_COND_T
|
#undef ALIGNOF_PTHREAD_COND_T
|
||||||
|
|
||||||
|
@ -472,6 +469,9 @@
|
||||||
/* Define to 1 if you have the `Sleep' function. */
|
/* Define to 1 if you have the `Sleep' function. */
|
||||||
#undef HAVE_SLEEP
|
#undef HAVE_SLEEP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `snprintf' function. */
|
||||||
|
#undef HAVE_SNPRINTF
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `socklen_t'. */
|
/* Define to 1 if the system has the type `socklen_t'. */
|
||||||
#undef HAVE_SOCKLEN_T
|
#undef HAVE_SOCKLEN_T
|
||||||
|
|
||||||
|
@ -654,6 +654,9 @@
|
||||||
/* Says whether the visibility attribute works */
|
/* Says whether the visibility attribute works */
|
||||||
#undef HAVE_VISIBILITY_ATTRIBUTE
|
#undef HAVE_VISIBILITY_ATTRIBUTE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `vsnprintf' function. */
|
||||||
|
#undef HAVE_VSNPRINTF
|
||||||
|
|
||||||
/* Define to 1 if you have the `vsprintf' function. */
|
/* Define to 1 if you have the `vsprintf' function. */
|
||||||
#undef HAVE_VSPRINTF
|
#undef HAVE_VSPRINTF
|
||||||
|
|
||||||
|
@ -735,44 +738,26 @@
|
||||||
/* Define if using the libffi library for invocations */
|
/* Define if using the libffi library for invocations */
|
||||||
#undef USE_LIBFFI
|
#undef USE_LIBFFI
|
||||||
|
|
||||||
/* Enable extensions on AIX 3, Interix. */
|
|
||||||
#ifndef _ALL_SOURCE
|
|
||||||
# undef _ALL_SOURCE
|
|
||||||
#endif
|
|
||||||
/* Enable GNU extensions on systems that have them. */
|
|
||||||
#ifndef _GNU_SOURCE
|
|
||||||
# undef _GNU_SOURCE
|
|
||||||
#endif
|
|
||||||
/* Enable threading extensions on Solaris. */
|
|
||||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
||||||
# undef _POSIX_PTHREAD_SEMANTICS
|
|
||||||
#endif
|
|
||||||
/* Enable extensions on HP NonStop. */
|
|
||||||
#ifndef _TANDEM_SOURCE
|
|
||||||
# undef _TANDEM_SOURCE
|
|
||||||
#endif
|
|
||||||
/* Enable general extensions on Solaris. */
|
|
||||||
#ifndef __EXTENSIONS__
|
|
||||||
# undef __EXTENSIONS__
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* Define if vasprintf returns the length printed */
|
/* Define if vasprintf returns the length printed */
|
||||||
#undef VASPRINTF_RETURNS_LENGTH
|
#undef VASPRINTF_RETURNS_LENGTH
|
||||||
|
|
||||||
/* Define if vsprintf returns the length printed */
|
/* Define if vsprintf returns the length printed */
|
||||||
#undef VSPRINTF_RETURNS_LENGTH
|
#undef VSPRINTF_RETURNS_LENGTH
|
||||||
|
|
||||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
/* Define to 1 if your processor stores words with the most significant byte
|
||||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||||
#if defined AC_APPLE_UNIVERSAL_BUILD
|
#undef WORDS_BIGENDIAN
|
||||||
# if defined __BIG_ENDIAN__
|
|
||||||
# define WORDS_BIGENDIAN 1
|
/* Define to 1 if on AIX 3.
|
||||||
# endif
|
System headers sometimes define this.
|
||||||
#else
|
We just want to avoid a redefinition error message. */
|
||||||
# ifndef WORDS_BIGENDIAN
|
#ifndef _ALL_SOURCE
|
||||||
# undef WORDS_BIGENDIAN
|
# undef _ALL_SOURCE
|
||||||
# endif
|
#endif
|
||||||
|
|
||||||
|
/* Enable GNU extensions on systems that have them. */
|
||||||
|
#ifndef _GNU_SOURCE
|
||||||
|
# undef _GNU_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define to 1 if on MINIX. */
|
/* Define to 1 if on MINIX. */
|
||||||
|
@ -785,6 +770,17 @@
|
||||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||||
#undef _POSIX_SOURCE
|
#undef _POSIX_SOURCE
|
||||||
|
|
||||||
|
/* Enable extensions on Solaris. */
|
||||||
|
#ifndef __EXTENSIONS__
|
||||||
|
# undef __EXTENSIONS__
|
||||||
|
#endif
|
||||||
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||||
|
# undef _POSIX_PTHREAD_SEMANTICS
|
||||||
|
#endif
|
||||||
|
#ifndef _TANDEM_SOURCE
|
||||||
|
# undef _TANDEM_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
|
|
|
@ -4100,7 +4100,7 @@ static NSFileManager *fm = nil;
|
||||||
}
|
}
|
||||||
#if defined(__MINGW__)
|
#if defined(__MINGW__)
|
||||||
return IMMUTABLE(s);
|
return IMMUTABLE(s);
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
{
|
{
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
|
@ -4275,6 +4275,7 @@ static NSFileManager *fm = nil;
|
||||||
return [[NSFileManager defaultManager]
|
return [[NSFileManager defaultManager]
|
||||||
stringWithFileSystemRepresentation: newBuf length: strlen(newBuf)];
|
stringWithFileSystemRepresentation: newBuf length: strlen(newBuf)];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString*) stringByStandardizingPath
|
- (NSString*) stringByStandardizingPath
|
||||||
|
|
|
@ -1895,7 +1895,7 @@ fi
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# This function needed by StdioStream.m
|
# This function needed by StdioStream.m
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
AC_CHECK_FUNCS(vsprintf vasprintf)
|
AC_CHECK_FUNCS(vsprintf vasprintf snprintf vsnprintf)
|
||||||
if test $ac_cv_func_vsprintf = yes ; then
|
if test $ac_cv_func_vsprintf = yes ; then
|
||||||
AC_TRY_RUN([#include "$srcdir/config/config.vsprintf.c"],
|
AC_TRY_RUN([#include "$srcdir/config/config.vsprintf.c"],
|
||||||
VSPRINTF_RETURNS_LENGTH=1,
|
VSPRINTF_RETURNS_LENGTH=1,
|
||||||
|
|
Loading…
Reference in a new issue