2 * Portions Copyright (c) 1987, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
5 * Portions Copyright (c) 2003-2017, PostgreSQL Global Development Group
7 * src/include/getopt_long.h
12 #include "pg_getopt.h"
14 #ifndef HAVE_STRUCT_OPTION
25 #define required_argument 1
26 #define optional_argument 2
29 #ifndef HAVE_GETOPT_LONG
31 extern int getopt_long(int argc, char *const argv[],
32 const char *optstring,
33 const struct option * longopts, int *longindex);
36 #endif /* GETOPT_LONG_H */