summaryrefslogtreecommitdiff
path: root/osdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep.h')
-rw-r--r--osdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep.h b/osdep.h
index 9cdfb2c1ce..dbc281f3bc 100644
--- a/osdep.h
+++ b/osdep.h
@@ -64,7 +64,7 @@
#define qemu_printf printf
-#if defined (__GNUC__) && defined (__GNUC_MINOR_)
+#if defined (__GNUC__) && defined (__GNUC_MINOR__)
# define QEMU_GNUC_PREREQ(maj, min) \
((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
#else