Samuli Seppänen wrote:
> +++ b/service-win32/openvpnserv.c
> @@ -86,7 +86,7 @@ static HANDLE exit_event = NULL;
>  /* snprintf with guaranteed null termination */
>  #define mysnprintf(out, ...) \
>          { \
> -           snprintf (out, sizeof(out), __VA_ARGS__); \
> +           _snprintf (out, sizeof(out), __VA_ARGS__); \
>             out [sizeof (out) - 1] = '\0'; \
>          }

> Does this change affect the automake/gcc-based Windows builds?

My MinGW compiles both snprintf() and _snprintf() fine.


//Peter

Reply via email to