diff options
Diffstat (limited to 'biology/adun/files/patch-main.m')
-rw-r--r-- | biology/adun/files/patch-main.m | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/biology/adun/files/patch-main.m b/biology/adun/files/patch-main.m new file mode 100644 index 000000000000..fff8726b3ebb --- /dev/null +++ b/biology/adun/files/patch-main.m @@ -0,0 +1,23 @@ +--- Kernel/main.m.orig Mon Aug 7 12:17:30 2006 ++++ Kernel/main.m Sun Nov 5 13:27:26 2006 +@@ -3,7 +3,9 @@ + #include <stdio.h> + #include <float.h> + #include <fenv.h> ++#ifndef __FreeBSD__ + #include <mcheck.h> ++#endif + #include "AdunKernel/AdunKernel.h" + + /** \mainpage +@@ -250,8 +252,10 @@ + + if([[NSUserDefaults standardUserDefaults] boolForKey: @"TraceMemory"] == YES) + { ++#ifndef __FreeBSD__ + mtrace(); + mcheck(NULL); ++#endif + } + + logFile = [[NSUserDefaults standardUserDefaults] stringForKey: @"LogFile"]; |