aboutsummaryrefslogtreecommitdiff
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-03-17 16:06:30 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-03-17 16:14:12 +0000
commitb21a9b1c4eb175938b07855e670a39302726a03d (patch)
treef69b8ee7bc2f0310882cee0daf04c82c63e801d9 /compat.h
parent444e9f3c582b2d20800b0fe4aa363fb7e801cbc2 (diff)
downloadrtmux-b21a9b1c4eb175938b07855e670a39302726a03d.tar.gz
rtmux-b21a9b1c4eb175938b07855e670a39302726a03d.tar.bz2
rtmux-b21a9b1c4eb175938b07855e670a39302726a03d.zip
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.h2
1 files changed, 0 insertions, 2 deletions
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 */