[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>
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user