X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_getopt.c;h=5f938f398b691366fd2165c68d4e1b65c18297f4;hb=0b3205462f58dc3d59fe016563629e0bd03f8ae3;hp=0556c86a82602e2a3ea5c413d4e17cbd56a8a181;hpb=d372ef83ee1b95f5263f80258b1cb750249ea89f;p=rrdtool.git diff --git a/src/rrd_getopt.c b/src/rrd_getopt.c index 0556c86..5f938f3 100644 --- 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, +#ifdef WIN32 + char** argv, +#else // WIN32 char* const* argv, +#endif //WIN32 const char *optstring, const struct option *longopts, int* longind,