Browse Source

ERR: Disabling some borland warnings.

Brad King 22 years ago
parent
commit
e5a48ea031
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Source/CTest/Curl/setup.h

+ 4 - 0
Source/CTest/Curl/setup.h

@@ -133,6 +133,10 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
 #pragma warning ( disable : 4312 ) /* Allow cast from long to char* */
 struct _RPC_ASYNC_STATE;
 #endif
+/* Disable unnecessary warnings on Borland */
+#ifdef __BORLANDC__
+#pragma warn -8004
+#endif
 #if !defined(__GNUC__) || defined(__MINGW32__)
 #define sclose(x) closesocket(x)
 #define sread(x,y,z) recv(x,y,z,0)