diff options
Diffstat (limited to 'misc/kcd/files/patch-cxxlib.h')
-rw-r--r-- | misc/kcd/files/patch-cxxlib.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/misc/kcd/files/patch-cxxlib.h b/misc/kcd/files/patch-cxxlib.h new file mode 100644 index 000000000000..66512291d73b --- /dev/null +++ b/misc/kcd/files/patch-cxxlib.h @@ -0,0 +1,17 @@ +--- cxxlib.h.orig Sun Nov 3 23:49:03 2002 ++++ cxxlib.h Wed Nov 6 09:41:36 2002 +@@ -33,12 +33,14 @@ + // new/delete operators + // + ++#ifndef __FreeBSD__ + void *operator new (size_t s) CXX__NEW_THROW; + void operator delete (void *p) CXX__DELETE_THROW; + #ifdef CXX__HAVE_ARRAY_NEW + void *operator new[] (size_t s) CXX__NEW_THROW; + void operator delete[] (void *p) CXX__DELETE_THROW; + #endif /* CXX__HAVE_ARRAY_NEW */ ++#endif + + // + // string I/O stream |