Code

do not mistake "sqlxxabc.rrd" for a libdbi specification -- Peter Stamfest
[rrdtool-all.git] / program / src / rrd_getopt.c
index 0556c86a82602e2a3ea5c413d4e17cbd56a8a181..5f938f398b691366fd2165c68d4e1b65c18297f4 100644 (file)
@@ -465,7 +465,11 @@ static const char* _getopt_initialize(int argc,
    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,