slirp: replace SIZEOF_CHAR_P with glib equivalent

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
master
Marc-André Lureau 2018-11-14 16:36:27 +04:00 committed by Samuel Thibault
parent e429f29602
commit 0826c2400d
2 changed files with 1 additions and 4 deletions

View File

@ -177,7 +177,7 @@ struct ip_timestamp {
#define IP_MSS 576 /* default maximum segment size */
#if SIZEOF_CHAR_P == 4
#if GLIB_SIZEOF_VOID_P == 4
struct mbuf_ptr {
struct mbuf *mptr;
uint32_t dummy;

View File

@ -10,6 +10,3 @@
* Autoconf defined configuration options
* You shouldn't need to touch any of these
*/
/* Define to sizeof(char *) */
#define SIZEOF_CHAR_P (HOST_LONG_BITS / 8)