From 80f20b8e4e552eaa6b5b96aa8745c5935406c1b0 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 17 Mar 2020 16:06:30 +0000 Subject: getopt varies too much between platforms, and we already use compat/getopt.c for Linux so just use it everywhere. --- compat.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'compat.h') diff --git a/compat.h b/compat.h index 70801d0d..b7ec5a69 100644 --- a/compat.h +++ b/compat.h @@ -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 */ -- cgit