diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2010-11-28 18:19:37 +0000 |
---|---|---|
committer | Martin Peach <mrpeach@users.sourceforge.net> | 2010-11-28 18:19:37 +0000 |
commit | f3fb1bd8f8fb6a2d6bf22b62446459189111ed77 (patch) | |
tree | 4febaa970784fb974b09124becd2e4282fc6155a /net | |
parent | f34aa70f434e35990d6236304b7ee5bd3671b317 (diff) |
changed #ifdef for
#define snprintf sprintf_s
to _MSC_VER so MinGW doesn't see it.
svn path=/trunk/externals/mrpeach/; revision=14534
Diffstat (limited to 'net')
-rw-r--r-- | net/udpreceive~.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/udpreceive~.c b/net/udpreceive~.c index db5dd87..75b5996 100644 --- a/net/udpreceive~.c +++ b/net/udpreceive~.c @@ -53,6 +53,8 @@ #ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> /* for socklen_t */ +#endif +#ifdef _MSC_VER #define snprintf sprintf_s #endif |