summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite-engine/src/segment/GrTableManager.cpp
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-02-15 15:40:02 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-02-15 15:40:02 +0000
commit2445b3193ddfa82efd2a95695694be74260e4e7c (patch)
treed0a1e783a715fa3e4f6a951b2824b680f1de7bd2 /Build/source/libs/graphite-engine/src/segment/GrTableManager.cpp
parent21854aa6efbf4fb1013d04ec22340388af752dc7 (diff)
graphite portability issues, from xetex svn rev.573
git-svn-id: svn://tug.org/texlive/trunk@6638 c570f23f-e606-0410-a88d-b1316a301751
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
//:>********************************************************************************************