Fix up config checks

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11253 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2001-10-26 17:57:58 +00:00
parent be5d822f9a
commit a4ef5bb360
6 changed files with 133 additions and 126 deletions

View file

@ -74,51 +74,32 @@
#else
typedef gsu32 wint_t;
#endif
#ifdef HAVE_UINTMAX_T
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#endif
#ifdef HAVE_SYS_INTTYPES_H
#include <sys/inttypes.h>
#endif
#ifndef HAVE_UINTMAX_T
typedef unsigned long long uintmax_t;
#endif
/* BSD and Solaris have this */
#ifdef HANDLE_LLONG_MAX
#if defined(HANDLE_LLONG_MAX) && !defined(HANDLE_LONG_LONG_MAX)
#define LONG_LONG_MAX LLONG_MAX
#define LONG_LONG_MIN LLONG_MIN
#define ULONG_LONG_MAX ULLONG_MAX
#else
/* Darwin 1.0 CPP can't handle this */
# ifndef HANDLE_LONG_LONG_MAX
# undef LONG_LONG_MAX
# endif
/* Darwin 1.0 CPP can't handle this */
#ifndef HANDLE_LONG_LONG_MAX
#undef LONG_LONG_MAX
#endif
#endif
#include <base/behavior.h>
#include <base/Unicode.h>
//#define NDEBUG 1
//#include <assert.h>
//#include <bits/libc-lock.h>
//#include <ctype.h>
//#include <errno.h>
//#include <features.h>
//#include <langinfo.h>
//#include <libioP.h>
//#include <limits.h>
//#include <locale/localeinfo.h>
//#include <stdarg.h>
//#include <stddef.h>
//#include <stdint.h>
//#include <stdio.h>
//#include <stdlib.h>
//#include <string.h>
//#include <sys/cdefs.h>
//#include <sys/param.h>
//#include <wchar.h>
//
//#include "../locale/localeinfo.h"
struct printf_info
{
int prec; /* Precision. */

View file

@ -33,7 +33,7 @@
#include <ctype.h> /* FIXME: May go away once I figure out Unicode */
/* BSD and Solaris have this */
#ifdef HANDLE_LLONG_MAX
#if defined(HANDLE_LLONG_MAX) && !defined(HANDLE_LONG_LONG_MAX)
#define LONG_LONG_MAX LLONG_MAX
#define LONG_LONG_MIN LLONG_MIN
#define ULONG_LONG_MAX ULLONG_MAX