diff options
| author | Scott J. Goldman <scottjgo@gmail.com> | 2012-05-07 00:05:02 -0700 |
|---|---|---|
| committer | Scott J. Goldman <scottjgo@gmail.com> | 2012-05-07 00:05:02 -0700 |
| commit | 901fbdad1b83678b6367ad0d06d0088bc46aad33 (patch) | |
| tree | 3742e0d6657ad07228efe4f062650ee4468239c6 /src/netops.c | |
| parent | 17847c78dd29e448246e35bd385313ca86f82160 (diff) | |
| download | libgit2-901fbdad1b83678b6367ad0d06d0088bc46aad33.tar.gz | |
Define explicit _WIN32_WINNT version in makefile
Previously, it was defined in netops.c, but it's also needed in one of the
clar tests, so I figured we might as well just make it global for the
whole project.
Without it, the mingw32 linker won't resolve GetProcessId() (called from
the core/errors.c clar test) because of some conditionals in windows.h.
Diffstat (limited to 'src/netops.c')
| -rw-r--r-- | src/netops.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/netops.c b/src/netops.c index 2d200002f..057aff887 100644 --- a/src/netops.c +++ b/src/netops.c @@ -11,7 +11,6 @@ # include <sys/time.h> # include <netdb.h> #else -# define _WIN32_WINNT 0x0501 # include <winsock2.h> # include <Ws2tcpip.h> # ifdef _MSC_VER |
