]> git.proxmox.com Git - qemu.git/blobdiff - slirp/slirp_config.h
64 bit fixes (initial patch by Gwenole Beauchesne)
[qemu.git] / slirp / slirp_config.h
index 856c3156751d246110ebed8a2fa9a7ff8b530618..a0795ef6b5ac7923d2f2f0555c3c6125e4b679cb 100644 (file)
 #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