diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2004-04-04 16:47:20 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2004-04-04 16:47:20 +0000 |
commit | 1f3235767ee02c51b50767ffbd63f95c3665933d (patch) | |
tree | 8ae07d7e245b7aab0b3b3baf0f1bdbbb339405b3 /libwc | |
parent | Debian Bug#241192 w3m ipv6 FQDN resolution failure (diff) | |
download | w3m-1f3235767ee02c51b50767ffbd63f95c3665933d.tar.gz w3m-1f3235767ee02c51b50767ffbd63f95c3665933d.zip |
[w3m-dev 04049] w3m-cvs-1.914-misc.patch
* Makefile.in (funcname.tab): dont modify when target is unchanged.
(CFLAGS): need $(CPPFLAGS)?
* config.h.in: add HAVE_STDINT_H, HAVE_INTTYPES_H
* configure.in: s/AC_CANONICAL_SYSTEM/AC_CANONICAL_HOST/
don't use AC_CYGWIN
don't use $CYGWIN, use $host_os *cygwin*
AC_DEFINE in AC_CHECK_HEADER (float.h, sys/select.h)
add stdint.h, inttypes.h
* etc.c (find_auth_pass_entry): host is case insensitive
* libwc/wc_types.h: use stdint.h or inttypes.h
* main.c (MAIN); need GC_init()
From: AIDA Shinra <shinra@j10n.org>
Diffstat (limited to 'libwc')
-rw-r--r-- | libwc/wc_types.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libwc/wc_types.h b/libwc/wc_types.h index 981c8d4..845bf2f 100644 --- a/libwc/wc_types.h +++ b/libwc/wc_types.h @@ -3,11 +3,23 @@ #define _WC_TYPES_H #include <Str.h> +#include <config.h> +#if defined(HAVE_STDINT_H) +# include <stdint.h> +#elif defined(HAVE_INTTYPES_H) +# include <inttypes.h> +#endif typedef unsigned char wc_uchar; +#if defined(HAVE_STDINT_H) || defined(HAVE_INTTYPES_H) +typedef uint8_t wc_uint8; +typedef uint16_t wc_uint16; +typedef uint32_t wc_uint32; +#else typedef unsigned char wc_uint8; typedef unsigned short wc_uint16; typedef unsigned long wc_uint32; +#endif typedef wc_uint32 wc_ccs; typedef wc_uint32 wc_ces; |