$NetBSD: patch-ag,v 1.3 2008/05/29 17:53:36 drochner Exp $ --- Src/DasherCore/DasherViewSquare.cpp.orig 2008-04-07 19:25:34.000000000 +0200 +++ Src/DasherCore/DasherViewSquare.cpp @@ -805,7 +805,7 @@ void CDasherViewSquare::GetScaleFactor( inline myint CDasherViewSquare::CustomIDiv(myint iNumerator, myint iDenominator) { // Integer division rounding away from zero -#ifdef _WIN32 +#if defined(_WIN32) || defined(__DragonFly__) myint quot = iNumerator / iDenominator; myint rem = (int64)iNumerator % (int64)iDenominator;