db/msgdb/src/nsMailDatabase.cpp: *aResult = PR_ABS((PRInt32) (actualFolderTimeStamp - folderDate)) <= gTimeStampLeeway;
extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp: double distance = PR_ABS(prob - 0.5);
And what would be the proper replacement?
(In reply to :aceman from comment #1)
> And what would be the proper replacement?
Thanks, that was my guess too, I was however stopped by the fact that NS_ABS is used nowhere in mailnews. It is used only in mozilla core.
So I will use it.
I will post a patch as soon I can compile test it, after the current tree breakage will be fixed by somebody (NSReg.h is missing).
Created attachment 580974 [details] [diff] [review]
V.Fixed, per MXR search.