[Mono-list] Decimal

Paolo Molaro lupus@ximian.com
Wed, 13 Feb 2002 23:03:09 +0100


On 02/13/02 Serge wrote:
> In mono/metadata/decimal.c there is the following sequence:
>   #ifndef _M_IX86
>   #error this platform is not supported
> that in turn is conditioned by _MSC_VER so it doesn't affects gcc builds.
> 
> This prevents this code from compiling with Microsoft EVT compilers
> (for ARM/MIPS/SuperH).
> Is this code really Pentium-specific?

I think that #error directive can be removed and maybe the whole
_MSC_VER conditional, too, since we require the glib types anyway
all over the place. I think it was used by Martin to test the rountines
in a standalone program.
I removed that part in cvs.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better