diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/ChangeLog | 4 | ||||
-rw-r--r-- | common/util.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/common/ChangeLog b/common/ChangeLog index d77fad586..4f8b5414f 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,3 +1,7 @@ +2011-06-01 Marcus Brinkmann <[email protected]> + + * util.h: Undef snprintf before redefining it. + 2011-05-20 Werner Koch <[email protected]> * util.h: Remove some error code substitutes. diff --git a/common/util.h b/common/util.h index 45bccecd2..31c2caacb 100644 --- a/common/util.h +++ b/common/util.h @@ -62,6 +62,7 @@ /* Due to a bug in mingw32's snprintf related to the 'l' modifier and for increased portability we use our snprintf on all systems. */ +#undef snprintf #define snprintf estream_snprintf |