aboutsummaryrefslogtreecommitdiff
path: root/slirp/ip.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-11-14 16:36:27 +0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-01-14 00:40:54 +0100
commit0826c2400d98a0c35dc4d223e6833b3e2f6d929e (patch)
tree1cbc7d8a52e8226265fc4804a58140df034d081b /slirp/ip.h
parente429f29602098b0cd62eb375ec1ffea913afb675 (diff)
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>
Diffstat (limited to 'slirp/ip.h')
-rw-r--r--slirp/ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/ip.h b/slirp/ip.h
index 83fc9cdfbf..243b6c8b24 100644
--- a/slirp/ip.h
+++ b/slirp/ip.h
@@ -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;