aboutsummaryrefslogtreecommitdiff
path: root/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
commita48d505695367905155ab463993ccdae41250ae7 (patch)
treefc45613e2ed78257489f7a1679f004d979201e27 /slirp_config.h
parentefa0f8b2352e980e3c1b2d90e1d130ccd7257c69 (diff)
downloadslirp-a48d505695367905155ab463993ccdae41250ae7.zip
slirp-a48d505695367905155ab463993ccdae41250ae7.tar.gz
slirp-a48d505695367905155ab463993ccdae41250ae7.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_config.h')
-rw-r--r--slirp_config.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/slirp_config.h b/slirp_config.h
index 6ee9b6d..ed89993 100644
--- a/slirp_config.h
+++ b/slirp_config.h
@@ -150,8 +150,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