summaryrefslogtreecommitdiff
path: root/src/pk/pk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pk/pk.h')
-rw-r--r--src/pk/pk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pk/pk.h b/src/pk/pk.h
index 92028ca19..d9c5a72d7 100644
--- a/src/pk/pk.h
+++ b/src/pk/pk.h
@@ -39,6 +39,8 @@ FT_BEGIN_HEADER
#define PK_POST 245
#define PK_NO_OP 246
+#define toint(x) (int)(((x)>0)?(x+0.5):(x-0.5))
+
/* Temporary TO BE REMOVED */
typedef char INT1;