aboutsummaryrefslogtreecommitdiff
path: root/pcap-types.h
diff options
context:
space:
mode:
authorAli Abdulkadir <autostart.ini@gmail.com>2017-10-02 05:43:40 +0300
committerAli Abdulkadir <autostart.ini@gmail.com>2017-10-02 05:43:40 +0300
commit325629b54f33f085a641af7c983c0089e9526de5 (patch)
tree79df939c2b9e2c8144f8e9ffd8ba016c4c8be964 /pcap-types.h
parent7d8edf622162290f7212a8564bfc7b161dad3afb (diff)
No need to manually define _WINSOCKAPI_
Diffstat (limited to 'pcap-types.h')
-rw-r--r--pcap-types.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/pcap-types.h b/pcap-types.h
index f075d4b7..9614f9f1 100644
--- a/pcap-types.h
+++ b/pcap-types.h
@@ -35,14 +35,6 @@
* Get u_int defined, by hook or by crook.
*/
#ifdef _WIN32
- /*
- * Avoids a compiler warning in case this was already defined
- * (someone defined _WINSOCKAPI_ when including 'windows.h', in order
- * to prevent it from including 'winsock.h')
- */
- #ifdef _WINSOCKAPI_
- #undef _WINSOCKAPI_
- #endif
/*
* This defines u_int.