Don't define our own custom implementation when compiling with g++ either
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3628 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
6ddb4af1d5
commit
07359499ab
|
@ -33,7 +33,7 @@
|
|||
# define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
#if !defined(WZ_C99)
|
||||
#if !defined(WZ_C99) && !(defined(__cplusplus) && defined(WZ_CC_GNU))
|
||||
static inline int roundf(float x)
|
||||
{
|
||||
// Ensure that float truncation results in a proper rounding
|
||||
|
|
Loading…
Reference in New Issue