SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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); }