summaryrefslogtreecommitdiffstats
path: root/soltools/cpp/_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'soltools/cpp/_unix.c')
-rw-r--r--soltools/cpp/_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/soltools/cpp/_unix.c b/soltools/cpp/_unix.c
index 02ecaa9e9610..ca7004c56070 100644
--- a/soltools/cpp/_unix.c
+++ b/soltools/cpp/_unix.c
@@ -12,7 +12,7 @@
#include "cpp.h"
-#if defined MACOSX || defined WNT
+#if defined MACOSX || !defined HAVE_GETOPT
extern int stgetopt(int, char *const *, const char *);
extern char *optarg;
extern int optind;
@@ -40,7 +40,7 @@ void
Tokenrow tr;
setup_kwtab();
-#if defined MACOSX || defined WNT
+#if defined MACOSX || !defined HAVE_GETOPT
while ((c = stgetopt(argc, argv, "NOPV:I:D:U:F:A:X:u:l:+")) != -1)
#else
while ((c = getopt(argc, argv, "NOPV:I:D:U:F:A:X:u:l:+")) != -1)