summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite-engine/src/segment/GrTableManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/graphite-engine/src/segment/GrTableManager.cpp')
-rw-r--r--Build/source/libs/graphite-engine/src/segment/GrTableManager.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/libs/graphite-engine/src/segment/GrTableManager.cpp b/Build/source/libs/graphite-engine/src/segment/GrTableManager.cpp
index cc125a3d9b3..a8e0d4e8348 100644
--- a/Build/source/libs/graphite-engine/src/segment/GrTableManager.cpp
+++ b/Build/source/libs/graphite-engine/src/segment/GrTableManager.cpp
@@ -28,6 +28,13 @@ DEFINE_THIS_FILE
#include <math.h>
#endif
+#ifndef HAVE_FABSF
+static float fabsf(float x)
+{
+ return (x < 0.0f) ? -x : x;
+}
+#endif
+
//:>********************************************************************************************
//:> Forward declarations
//:>********************************************************************************************