projects
/
libevent
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0de87fe
)
Always use evutil_snprintf, even if OS provides it
author
Sebastian Hahn
<sebastian@torproject.org>
Thu, 26 May 2011 00:05:54 +0000
(
02:05
+0200)
committer
Sebastian Hahn
<sebastian@torproject.org>
Thu, 26 May 2011 00:05:54 +0000
(
02:05
+0200)
In test/tinytest_local.h we can't redefine snprintf if the OS has it
defined already.
test/tinytest_local.h
patch
|
blob
|
history
diff --git
a/test/tinytest_local.h
b/test/tinytest_local.h
index 9f80fcd73158136a37c8a8bc635b569d5ad38281..1a7f75efc5aa47869ab0806f048322a398b59b9e 100644
(file)
--- a/
test/tinytest_local.h
+++ b/
test/tinytest_local.h
@@
-6,4
+6,7
@@
#include "event2/util.h"
#include "util-internal.h"
+#ifdef snprintf
+#undef snprintf
+#endif
#define snprintf evutil_snprintf