projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ifdef use
[rrdtool.git]
/
src
/
rrd_getopt.c
diff --git
a/src/rrd_getopt.c
b/src/rrd_getopt.c
index
0556c86
..
5f938f3
100644
(file)
--- a/
src/rrd_getopt.c
+++ b/
src/rrd_getopt.c
@@
-465,7
+465,11
@@
static const char* _getopt_initialize(int argc,
long-named options. */
int _getopt_internal(int argc,
long-named options. */
int _getopt_internal(int argc,
+#ifdef WIN32
+ char** argv,
+#else // WIN32
char* const* argv,
char* const* argv,
+#endif //WIN32
const char *optstring,
const struct option *longopts,
int* longind,
const char *optstring,
const struct option *longopts,
int* longind,