aboutsummaryrefslogtreecommitdiffstats
path: root/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'getopt.h')
-rw-r--r--getopt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/getopt.h b/getopt.h
index 45541f5a..b0fc4ffb 100644
--- a/getopt.h
+++ b/getopt.h
@@ -76,7 +76,7 @@ extern int optopt;
struct option
{
-#if __STDC__
+#ifdef __STDC__
const char *name;
#else
char *name;
@@ -94,7 +94,7 @@ struct option
#define required_argument 1
#define optional_argument 2
-#if __STDC__
+#ifdef __STDC__
#if defined(__GNU_LIBRARY__)
/* Many other libraries have conflicting prototypes for getopt, with
differences in the consts, in stdlib.h. To avoid compilation