summaryrefslogtreecommitdiff
path: root/sockutils.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 /sockutils.h
parent7d8edf622162290f7212a8564bfc7b161dad3afb (diff)
downloadlibpcap-325629b54f33f085a641af7c983c0089e9526de5.tar.gz
No need to manually define _WINSOCKAPI_
Diffstat (limited to 'sockutils.h')
-rw-r--r--sockutils.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sockutils.h b/sockutils.h
index 13b6d6d9..6cd85bd8 100644
--- a/sockutils.h
+++ b/sockutils.h
@@ -38,14 +38,6 @@
#endif
#ifdef _WIN32
- /* Windows */
- /*
- * Prevents a compiler warning in case this was already defined (to
- * avoid that windows.h includes winsock.h)
- */
- #ifdef _WINSOCKAPI_
- #undef _WINSOCKAPI_
- #endif
/* Need windef.h for defines used in winsock2.h under MingW32 */
#ifdef __MINGW32__
#include <windef.h>