aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2016-02-05 13:01:49 -0800
committerMartin Braun <martin.braun@ettus.com>2016-02-08 09:46:42 -0800
commit97d338d2f8adabab13992578ece4d4b6b5d6a530 (patch)
treeb067e37ed96c1241e35d3169753998a246ff373e
parent147f287c9b177918749f17dd1245be817553b821 (diff)
downloaduhd-97d338d2f8adabab13992578ece4d4b6b5d6a530.tar.gz
uhd-97d338d2f8adabab13992578ece4d4b6b5d6a530.tar.bz2
uhd-97d338d2f8adabab13992578ece4d4b6b5d6a530.zip
Disable Winsock deprecation warnings
-rw-r--r--host/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index 8a3d661e5..3a5cae4bf 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -162,6 +162,7 @@ IF(MSVC)
-D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_NONSTDC_NO_DEPRECATE
+ -D_WINSOCK_DEPRECATED_NO_WARNINGS
)
ADD_DEFINITIONS(/MP) #multi-threaded build
ADD_DEFINITIONS(/bigobj) #Increases the number of addressable sections in an .obj file.