SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
22
net/osrtspproxy/patches/patch-libapp_dbg_h
Normal file
22
net/osrtspproxy/patches/patch-libapp_dbg_h
Normal file
|
@ -0,0 +1,22 @@
|
|||
--- libapp/dbg.h.orig Tue Jan 30 22:24:19 2001
|
||||
+++ libapp/dbg.h Tue Nov 11 19:12:06 2014
|
||||
@@ -16,18 +16,10 @@
|
||||
|
||||
#ifdef NDEBUG
|
||||
inline void dbgout( const char* fmt, ... ) {}
|
||||
-inline void dump_alloc_heaps( void ) {}
|
||||
#else
|
||||
void dbgout( const char* fmt, ... );
|
||||
-void* operator new( size_t n, CPCHAR file, UINT line );
|
||||
-void* operator new[]( size_t n, CPCHAR file, UINT line );
|
||||
-void operator delete( void* p );
|
||||
-void operator delete[]( void* p );
|
||||
-void* operator new( size_t n );
|
||||
-void* operator new[]( size_t n );
|
||||
-#define new new(__FILE__,__LINE__)
|
||||
-void dump_alloc_heaps( void );
|
||||
#endif
|
||||
+inline void dump_alloc_heaps( void ) {}
|
||||
|
||||
#define assert_or_ret(cond) { assert(cond); if( !(cond) ) return; }
|
||||
#define assert_or_retv(val,cond) { assert(cond); if( !(cond) ) return (val); }
|
Loading…
Add table
Add a link
Reference in a new issue