mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Remove all instances of WIN32_WINNT (without leading _)
We started adding it in 59e2c77824 back in 2004, 8 years and 3
days ago. It's time to deprogram ourselves from this cargo cult.
This commit is contained in:
@@ -12,9 +12,6 @@
|
||||
#include "orconfig.h"
|
||||
|
||||
#ifdef _WIN32 /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/
|
||||
#ifndef WIN32_WINNT
|
||||
#define WIN32_WINNT 0x400
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x400
|
||||
#endif
|
||||
|
||||
@@ -9,9 +9,6 @@
|
||||
#include "orconfig.h"
|
||||
#include "torint.h"
|
||||
#ifdef _WIN32
|
||||
#ifndef WIN32_WINNT
|
||||
#define WIN32_WINNT 0x400
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x400
|
||||
#endif
|
||||
|
||||
@@ -13,9 +13,6 @@
|
||||
#include "orconfig.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef WIN32_WINNT
|
||||
#define WIN32_WINNT 0x400
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x400
|
||||
#endif
|
||||
|
||||
@@ -22,9 +22,6 @@
|
||||
|
||||
#include <assert.h>
|
||||
#ifdef _WIN32 /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/
|
||||
#ifndef WIN32_WINNT
|
||||
#define WIN32_WINNT 0x400
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x400
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user