diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-03-17 16:06:30 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-03-17 16:07:06 +0000 |
commit | 80f20b8e4e552eaa6b5b96aa8745c5935406c1b0 (patch) | |
tree | 3d1161e7faea4c793c870862a5aee7cb60da909b /compat.h | |
parent | 5717633cf52fca85ea1ab9951c2839ad443ffb2b (diff) |
getopt varies too much between platforms, and we already use compat/getopt.c
for Linux so just use it everywhere.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -370,7 +370,6 @@ int utf8proc_mbtowc(wchar_t *, const char *, size_t); int utf8proc_wctomb(char *, wchar_t); #endif -#ifndef HAVE_GETOPT /* getopt.c */ extern int BSDopterr; extern int BSDoptind; @@ -384,6 +383,5 @@ int BSDgetopt(int, char *const *, const char *); #define optopt BSDoptopt #define optreset BSDoptreset #define optarg BSDoptarg -#endif #endif /* COMPAT_H */ |