Subj : Re:[...] - fdlibm diff To : netscape.public.mozilla.jseng From : Klaus Drobec Date : Thu Apr 07 2005 09:43 am the following is the diff for fdlibm. The only change has to be made inside k_standard.c ? fdlibm.bpf ? fdlibm.bpr ? fdlibm.~bpf ? fdlibm.~bpr ? fdlibm_bor_dbg.mak ? fdlibmdiff.txt ? k_standard.~c Index: k_standard.c =================================================================== RCS file: /cvsroot/mozilla/js/src/fdlibm/k_standard.c,v retrieving revision 1.12 diff -p -u -8 -r1.12 k_standard.c --- k_standard.c 15 Nov 2003 00:11:05 -0000 1.12 +++ k_standard.c 7 Apr 2005 06:27:05 -0000 @@ -47,25 +47,28 @@ * software is freely granted, provided that this notice * is preserved. * ==================================================== * */ #include "fdlibm.h" +#if defined(__BORLANDC__) && (__BORLANDC__ >= 0x0550) +#include +#elif /* XXX ugly hack to get msvc to link without error. */ #if _LIB_VERSION == _IEEE_ && !(defined(DARWIN) || defined(XP_MACOSX)) int errno; # define EDOM 0 # define ERANGE 0 #else # include #endif - +#endif #ifndef _USE_WRITE #include /* fputs(), stderr */ #define WRITE2(u,v) fputs(u, stderr) #else /* !defined(_USE_WRITE) */ #include /* write */ #define WRITE2(u,v) write(2, u, v) #undef fflush There are also two makefiles to create a debug and release version of fdlibm.lib and fdlibmd.lib respectively that work with the free commandline tools from borland. are those of interest? klaus Brendan Eich wrote: > user@domain.invalid wrote: > [...] > > Yes, please attach a unified diff (cvs diff -pu8 are good options) of > your changes to https://bugzilla.mozilla.org/show_bug.cgi?id=59195 and > request review from me using the form in bugzilla's attachment.cgi page. > > /be .