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-861f7616d084
master
Giel van Schijndel 2008-02-01 21:01:23 +00:00
parent 6ddb4af1d5
commit 07359499ab
1 changed files with 1 additions and 1 deletions

View File

@ -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