X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_getopt.c;fp=src%2Frrd_getopt.c;h=5f938f398b691366fd2165c68d4e1b65c18297f4;hp=0556c86a82602e2a3ea5c413d4e17cbd56a8a181;hb=28a2150521548582386dcadda9e25f8124cb0e9a;hpb=26d23e7abaeb6dc428374626debf6b271ad7e0d7 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,