Jonathan Vogt wrote:
> Am Freitag 27 Oktober 2006 16:52 schrieb Peter Kümmel:
>> Jonathan Vogt wrote:
>>> Am Freitag 27 Oktober 2006 16:14 schrieb Bo Peng:
>>>> The problem is still there. Why not use fabs in math.h? At least this
>>>> makes lyx compile.
>>  does fabs work under linux? then we could change it to using fabs.
> Yes, at least makes it compile, too.
> Jonathan
> 
> 

Maybe such a patch:

Index: changes.C
===================================================================
--- changes.C   (revision 15579)
+++ changes.C   (working copy)
@@ -13,6 +13,7 @@

 #include <config.h>

+#include <cmath>
 #include "changes.h"
 #include "debug.h"

@@ -50,7 +51,7 @@

        return l.author == r.author
               // both changes made within 5 minutes?
-              && abs(difftime(l.changetime, r.changetime)) < 300;
+              && fabs(difftime(l.changetime, r.changetime)) < 300;
 }



-- 
Peter Kümmel

Reply via email to