summaryrefslogtreecommitdiff
path: root/mysys/getopt1.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/getopt1.c')
-rw-r--r--mysys/getopt1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/getopt1.c b/mysys/getopt1.c
index 6068a036e7b..bff76d6e5b2 100644
--- a/mysys/getopt1.c
+++ b/mysys/getopt1.c
@@ -27,7 +27,7 @@ Cambridge, MA 02139, USA. */
#include <global.h>
#include "getopt.h"
-#if (!defined (__STDC__) || !__STDC__) && !defined(MSDOS)
+#if (!defined (__STDC__) || !__STDC__) && !defined(MSDOS) && !defined(OS2)
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
#ifndef const