Always use evutil_snprintf, even if OS provides it

In test/tinytest_local.h we can't redefine snprintf if the OS has it
defined already.
This commit is contained in:
Sebastian Hahn 2011-05-26 02:05:54 +02:00
parent 0de87fe69c
commit d1b2d11bb5

View File

@ -6,4 +6,7 @@
#include "event2/util.h" #include "event2/util.h"
#include "util-internal.h" #include "util-internal.h"
#ifdef snprintf
#undef snprintf
#endif
#define snprintf evutil_snprintf #define snprintf evutil_snprintf