aboutsummaryrefslogtreecommitdiff
path: root/slirp/slirp_config.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-05 17:11:42 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-05 17:11:42 +0000
commit101c59356292c30ed5c8f7138c7680b4dc3d4811 (patch)
tree9804bca016979ade791f1ca9eb4191779acf58d5 /slirp/slirp_config.h
parentb685369795f028535862cb3caddaf219c655db2a (diff)
downloadqemu-101c59356292c30ed5c8f7138c7680b4dc3d4811.zip
qemu-101c59356292c30ed5c8f7138c7680b4dc3d4811.tar.gz
qemu-101c59356292c30ed5c8f7138c7680b4dc3d4811.tar.bz2
64 bit fixes (initial patch by Gwenole Beauchesne)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1458 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/slirp_config.h')
-rw-r--r--slirp/slirp_config.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h
index 856c315..a0795ef 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