Fix getopt again

This commit is contained in:
Justine Tunney 2023-08-15 19:24:21 -07:00
parent 507d7a0b0b
commit 74caabb823
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
6 changed files with 28 additions and 28 deletions

View file

@ -1,5 +1,5 @@
#ifndef COSMOPOLITAN_GETOPT_LONG2_H_
#define COSMOPOLITAN_GETOPT_LONG2_H_
#ifndef _GETOPT_EXT_H
#define _GETOPT_EXT_H
#ifdef COSMOPOLITAN_GETOPT_H_
#error "don't mix getopt_long() with cosmo's getopt()"
#endif
@ -24,4 +24,4 @@ int getopt_long_only(int, char *const *, const char *, const struct option *,
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_GETOPT_LONG2_H_ */
#endif /* _GETOPT_EXT_H */