Re: [hatari-devel] Removing SDL use for byte order checks / conversions

[ Thread Index | Date Index | More Archives ]

David Savinkoff schrieb:

I think MSFT is trying to be a trouble maker here, so use the force.

It's always easy and convenient to blame Microsoft, I know. But -- as
Thomas already wrote -- M_PI is *not* part of math.h in ANSI C. You will
find that glibc's math.h does not define it unconditionally either:
.... it's just that __USE_MISC or __USE_XOPEN is set somewhere else.

I would conditionally define M_PI most accurately in a future-proof way.

.... and, therefore, this suggestion might be good solution.

Christian Zietz  -  CHZ-Soft  -  czietz@xxxxxxx
New GnuPG-Key-ID: 0x8708B34C827B159E

Mail converted by MHonArc 2.6.19+