summaryrefslogtreecommitdiff
path: root/editors/dasher/patches/patch-ag
blob: 545e8c1af32852fcc36672532567196f95a54153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ag,v 1.4 2009/03/22 15:30:51 wiz Exp $

--- Src/DasherCore/DasherViewSquare.cpp.orig	2009-03-16 17:02:53.000000000 +0000
+++ Src/DasherCore/DasherViewSquare.cpp
@@ -41,7 +41,7 @@
 using namespace Dasher;
 
 // Track memory leaks on Windows to the line that new'd the memory
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__DragonFly__)
 #ifdef _DEBUG_MEMLEAKS
 #define DEBUG_NEW new( _NORMAL_BLOCK, THIS_FILE, __LINE__ )
 #define new DEBUG_NEW