ERR: Disabling some borland warnings.

This commit is contained in:
Brad King 2004-01-16 09:51:24 -05:00
parent f687b3d4a2
commit e5a48ea031

View File

@ -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)