summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-11-10 10:00:46 +0100
committerThomas Haller <thaller@redhat.com>2017-11-13 11:35:44 +0100
commit03efc9e2c94e47383f019a972010057535303fa0 (patch)
tree05663c462ee67e99d259d805f61fa74f81dbb572
parenta33baf8bf7e66d95bf9678c0c66ca869006c3b0f (diff)
downloadNetworkManager-03efc9e2c94e47383f019a972010057535303fa0.tar.gz
shared: fix detection of _Generic() support
-rw-r--r--shared/nm-utils/nm-macros-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/nm-utils/nm-macros-internal.h b/shared/nm-utils/nm-macros-internal.h
index d07e298ea2..515e8b5c3e 100644
--- a/shared/nm-utils/nm-macros-internal.h
+++ b/shared/nm-utils/nm-macros-internal.h
@@ -263,7 +263,7 @@ NM_G_ERROR_MSG (GError *error)
/*****************************************************************************/
-#if (defined (__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 9 ))) || (defined (__clang__))
+#if (defined (__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9 ))) || (defined (__clang__))
#define _NM_CC_SUPPORT_GENERIC 1
#else
#define _NM_CC_SUPPORT_GENERIC 0