mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-19 09:15:34 -04:00
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:
parent
0de87fe69c
commit
d1b2d11bb5
@ -6,4 +6,7 @@
|
||||
#include "event2/util.h"
|
||||
#include "util-internal.h"
|
||||
|
||||
#ifdef snprintf
|
||||
#undef snprintf
|
||||
#endif
|
||||
#define snprintf evutil_snprintf
|
||||
|
Loading…
x
Reference in New Issue
Block a user