2 // This file is (C) 2003-2004 Royce Mitchell III
3 // and released under the BSD & LGPL licenses
8 void panic ( const char* format
, ... );
10 #define suAssert(expr) if ( !(expr) ) panic ( "%s(%lu): SOCKET ERROR %s\nExpression: %s\n", __FILE__, __LINE__, suErrDesc(SUERRNO), #expr )
12 #if defined(DEBUG) || defined(_DEBUG)
13 # define suVerify(expr) suAssert(expr)
15 # define suVerify(expr) expr