summaryrefslogtreecommitdiff
path: root/misc/kcd/files/patch-cxxlib.cc
blob: 3388c062954a47ca89db101d9ef466a3f9ba9201 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- cxxlib.cc.orig	Sun Nov  3 23:49:03 2002
+++ cxxlib.cc	Wed Nov  6 09:42:38 2002
@@ -48,6 +48,7 @@
 	abort();
 }
 
+#ifndef __FreeBSD__
 void *operator new (size_t size) CXX__NEW_THROW
 {
 #ifdef LARGE_MEMORY_THRES
@@ -101,6 +102,7 @@
 }
 
 #endif	/* CXX__HAVE_ARRAY_NEW */
+#endif
 
 #ifndef CXX__NEW_THROW_BAD_ALLOC
 void	kcd_new_handler()