diff options
Diffstat (limited to 'mysys/getopt.c')
-rw-r--r-- | mysys/getopt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysys/getopt.c b/mysys/getopt.c index 88fdbff7811..a2a3b5bbec9 100644 --- a/mysys/getopt.c +++ b/mysys/getopt.c @@ -660,8 +660,12 @@ _getopt_internal (int argc, char *const *argv, const char *optstring, const stru } } +#ifdef __EMX__ +int getopt (int argc, char **argv, __const__ char *optstring) +#else int getopt (int argc, char *const *argv, const char *optstring) +#endif { return _getopt_internal (argc, argv, optstring, (const struct option *) 0, |