X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_getopt1.c;h=15bd2a974be276ee5b0dc18a9387771c032fc576;hp=1ace77e24c9157e5254a485d0866b417bc5411e8;hb=28a2150521548582386dcadda9e25f8124cb0e9a;hpb=aff0a2728543eee1ac21f3fa02f171caae8d9362 diff --git a/src/rrd_getopt1.c b/src/rrd_getopt1.c index 1ace77e..15bd2a9 100644 --- a/src/rrd_getopt1.c +++ b/src/rrd_getopt1.c @@ -66,7 +66,11 @@ #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) @@ -80,7 +84,11 @@ int getopt_long(int argc, 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)