]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
warnless: remove code block for icc that didn't work
authorDaniel Stenberg <daniel@haxx.se>
Mon, 6 Apr 2020 15:06:45 +0000 (17:06 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Apr 2020 21:18:56 +0000 (23:18 +0200)
Reported-by: Alain Miniussi
Fixes #5096

lib/warnless.h

index ea4c4395dcb289937b26b5a2f0ca618457f018ea..f066d971c7c40bba2ff5a6480d90a75121499086 100644 (file)
@@ -94,19 +94,6 @@ unsigned short curlx_htons(unsigned short usnum);
 
 unsigned short curlx_ntohs(unsigned short usnum);
 
-#ifndef BUILDING_WARNLESS_C
-#  undef  FD_ISSET
-#  define FD_ISSET(a,b) curlx_FD_ISSET((a),(b))
-#  undef  FD_SET
-#  define FD_SET(a,b)   curlx_FD_SET((a),(b))
-#  undef  FD_ZERO
-#  define FD_ZERO(a)    curlx_FD_ZERO((a))
-#  undef  htons
-#  define htons(a)      curlx_htons((a))
-#  undef  ntohs
-#  define ntohs(a)      curlx_ntohs((a))
-#endif
-
 #endif /* __INTEL_COMPILER && __unix__ */
 
 #endif /* HEADER_CURL_WARNLESS_H */