From 101c59356292c30ed5c8f7138c7680b4dc3d4811 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 5 Jun 2005 17:11:42 +0000 Subject: 64 bit fixes (initial patch by Gwenole Beauchesne) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1458 c046a42c-6fe2-441c-8c8c-71466251a162 --- slirp/slirp_config.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'slirp/slirp_config.h') diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h index 856c315675..a0795ef6b5 100644 --- a/slirp/slirp_config.h +++ b/slirp/slirp_config.h @@ -149,8 +149,7 @@ #define SIZEOF_INT 4 /* Define to sizeof(char *) */ -/* XXX: patch it */ -#define SIZEOF_CHAR_P 4 +#define SIZEOF_CHAR_P (HOST_LONG_BITS / 8) /* Define if you have random() */ #undef HAVE_RANDOM -- cgit v1.2.1