projects
/
tcludp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38d6406
)
Fixup for MS wacky stdlib naming.
author
patthoyts
<patthoyts>
Mon, 15 May 2006 14:40:54 +0000
(14:40 +0000)
committer
patthoyts
<patthoyts>
Mon, 15 May 2006 14:40:54 +0000
(14:40 +0000)
generic/udp_tcl.c
patch
|
blob
|
history
diff --git
a/generic/udp_tcl.c
b/generic/udp_tcl.c
index d578a1bbcd1439fe956231af96ba04e2a00c8555..e19db8e37c1d86d3956cecc38cfd8a55d337652b 100644
(file)
--- a/
generic/udp_tcl.c
+++ b/
generic/udp_tcl.c
@@
-60,6
+60,10
@@
typedef int socklen_t;
#define UDPTRACE 1 ? ((void)0) : udpTrace
#endif
+#ifdef _MSC_VER
+#define snprintf _snprintf /* trust Microsoft to complicate things */
+#endif
+
FILE *dbg;
#define MAXBUFFERSIZE 4096