From: patthoyts Date: Mon, 15 May 2006 14:40:54 +0000 (+0000) Subject: Fixup for MS wacky stdlib naming. X-Git-Tag: tcludp-1_0_8~5 X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=52afaf9c3f5afb5b60ba3d05480f0cdfcda57d27;p=tcludp Fixup for MS wacky stdlib naming. --- diff --git a/generic/udp_tcl.c b/generic/udp_tcl.c index d578a1b..e19db8e 100644 --- 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