about summary refs log tree commit diff
path: root/posix/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/getopt.h')
-rw-r--r--posix/getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/getopt.h b/posix/getopt.h
index a1de2429a5..b7a026c535 100644
--- a/posix/getopt.h
+++ b/posix/getopt.h
@@ -36,7 +36,7 @@
 #endif
 
 #ifndef __THROW
-# ifndef __GNUC__
+# ifndef __GNUC_PREREQ
 #  define __GNUC_PREREQ(maj, min) (0)
 # endif
 # if defined __cplusplus && __GNUC_PREREQ (2,8)