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)