diff --git a/source/src/tools.cpp b/source/src/tools.cpp index 162847ff..afad080e 100644 --- a/source/src/tools.cpp +++ b/source/src/tools.cpp @@ -277,5 +277,5 @@ bool isbigendian() return !(*((char *)(&one))); } -inline float round(float x) { return floor(x + 0.5f); } +float round(float x) { return floor(x + 0.5f); } diff --git a/source/src/tools.h b/source/src/tools.h index 30e0418b..6f9228f0 100644 --- a/source/src/tools.h +++ b/source/src/tools.h @@ -508,7 +508,7 @@ extern bool cmpb(void *b, int n, enet_uint32 c); extern bool cmpf(char *fn, enet_uint32 c); extern void endianswap(void *, int, int); extern bool isbigendian(); -extern inline float round(float x); +extern float round(float x); #endif