fix MSVC2008 compilation ... it does not understand char *const *argv iin rrd_getopt
[rrdtool.git] / src / rrd_getopt.c
index 0556c86..5f938f3 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,