diff --git a/base/networking.c b/base/networking.c index a3953fff..ce63af6f 100644 --- a/base/networking.c +++ b/base/networking.c @@ -34,8 +34,7 @@ */ #define G_LOG_DOMAIN "libgvm base" -#if (GLIB_MAJOR_VERSION >= 2) && (GLIB_MINOR_VERSION >= 67) \ - && (GLIB_MICRO_VERSION >= 3) +#if GLIB_CHECK_VERSION(2, 67, 3) #define memdup g_memdup2 #else #define memdup g_memdup diff --git a/util/kb.c b/util/kb.c index 65d57be2..60f0949c 100644 --- a/util/kb.c +++ b/util/kb.c @@ -26,8 +26,7 @@ */ #define G_LOG_DOMAIN "libgvm util" -#if (GLIB_MAJOR_VERSION >= 2) && (GLIB_MINOR_VERSION >= 67) \ - && (GLIB_MICRO_VERSION >= 3) +#if GLIB_CHECK_VERSION(2, 67, 3) #define memdup g_memdup2 #else #define memdup g_memdup