summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6342f77)
raw | patch | inline | side by side (parent: 6342f77)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 31 Aug 2010 07:31:43 +0000 (07:31 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 31 Aug 2010 07:31:43 +0000 (07:31 +0000) |
-- jkane mail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2124 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2124 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_getopt.c | patch | blob | history | |
src/rrd_getopt1.c | patch | blob | history |
diff --git a/src/rrd_getopt.c b/src/rrd_getopt.c
index 0556c86a82602e2a3ea5c413d4e17cbd56a8a181..5f938f398b691366fd2165c68d4e1b65c18297f4 100644 (file)
--- a/src/rrd_getopt.c
+++ b/src/rrd_getopt.c
long-named options. */
int _getopt_internal(int argc,
+#ifdef WIN32
+ char** argv,
+#else // WIN32
char* const* argv,
+#endif //WIN32
const char *optstring,
const struct option *longopts,
int* longind,
diff --git a/src/rrd_getopt1.c b/src/rrd_getopt1.c
index 32e54915debc31989234ca87b960230f569f4f3d..15bd2a974be276ee5b0dc18a9387771c032fc576 100644 (file)
--- a/src/rrd_getopt1.c
+++ b/src/rrd_getopt1.c
#endif
int getopt_long(int argc,
+#ifdef WIN32
+ char** argv,
+#else // WIN32
char* const* argv,
+#endif //WIN32
const char* options,
const struct option* long_options,
int* opt_index)
instead. */
int getopt_long_only(int argc,
+#ifdef WIN32
+ char** argv,
+#else // WIN32
char* const* argv,
+#endif //WIN32
const char* options,
const struct option* long_options,
int* opt_index)