diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-06-05 17:11:42 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-06-05 17:11:42 +0000 |
commit | a48d505695367905155ab463993ccdae41250ae7 (patch) | |
tree | fc45613e2ed78257489f7a1679f004d979201e27 /slirp_config.h | |
parent | efa0f8b2352e980e3c1b2d90e1d130ccd7257c69 (diff) | |
download | slirp-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.h | 3 |
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 |