Subversion daemon
2011-10-26 05:01:11 UTC
r243 | jb | 2011-10-26 07:01:11 +0200 (Wed, 26 Oct 2011) | 12 lines
Changed paths:
M /trunk/src/common.h
Win32: Drop #define of snprintf() to _snprintf() if the former is undefined.
This workaround was added for MinGW originally, but nowadays MinGW supports
snprintf() directly so it has become unnecessary.
Furthermore this can play havoc with Cygwin which does not have a _snprintf()
declaration and gives implicit function declaration warnings. Depending on
compiler flags, this can be a fatal error.
Patch by Diego Biurrun - diego at biurrun d0t de
Changed paths:
M /trunk/src/common.h
Win32: Drop #define of snprintf() to _snprintf() if the former is undefined.
This workaround was added for MinGW originally, but nowadays MinGW supports
snprintf() directly so it has become unnecessary.
Furthermore this can play havoc with Cygwin which does not have a _snprintf()
declaration and gives implicit function declaration warnings. Depending on
compiler flags, this can be a fatal error.
Patch by Diego Biurrun - diego at biurrun d0t de