summaryrefslogtreecommitdiff
path: root/utils/raptor_getopt.h
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2003-02-19 11:25:19 +0000
committerDave Beckett <dave@dajobe.org>2003-02-19 11:25:19 +0000
commitb43f3780435811cd4062aaf1ef6cdee014f49ba4 (patch)
tree71940552b8e2d97cbc52d5573168c1473e03daf0 /utils/raptor_getopt.h
parent1838f3482c548e2a7c4a312ec032b5a804e6f0f5 (diff)
downloadraptor-b43f3780435811cd4062aaf1ef6cdee014f49ba4.tar.gz
Define rest of getopt externs
Diffstat (limited to 'utils/raptor_getopt.h')
-rw-r--r--utils/raptor_getopt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/raptor_getopt.h b/utils/raptor_getopt.h
index 4bf93cde..9d6d54c8 100644
--- a/utils/raptor_getopt.h
+++ b/utils/raptor_getopt.h
@@ -12,6 +12,11 @@ int raptor_getopt(int argc, char * const argv[], const char *optstring);
extern char *raptor_optarg;
extern int raptor_optind, raptor_opterr, raptor_optopt;
+/* Ensure we link with raptor version */
#define getopt raptor_getopt
+#define optind raptor_optind
+#define optarg raptor_optarg
+#define opterr raptor_opterr
+#define optopt raptor_optopt
#endif