diff options
Diffstat (limited to 'Build/source/libs/graphite-engine/src/segment/Segment.cpp')
-rw-r--r-- | Build/source/libs/graphite-engine/src/segment/Segment.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/libs/graphite-engine/src/segment/Segment.cpp b/Build/source/libs/graphite-engine/src/segment/Segment.cpp index db8f2bc8849..8a82bbf9aa7 100644 --- a/Build/source/libs/graphite-engine/src/segment/Segment.cpp +++ b/Build/source/libs/graphite-engine/src/segment/Segment.cpp @@ -26,6 +26,13 @@ Description: #include <stdlib.h> #endif +#ifndef HAVE_FABSF +static float fabsf(float x) +{ + return (x < 0.0f) ? -x : x; +} +#endif + #undef THIS_FILE DEFINE_THIS_FILE |