From 7630787a6a6b2d7bf5c61995f8521923a66f3e70 Mon Sep 17 00:00:00 2001 From: David Weber Date: Sun, 13 Apr 2014 15:41:13 +0200 Subject: [PATCH] [smooth] Fix stand-alone compilation. * src/smooth/ftgrays.c (FT_BEGIN_STMNT, FT_END_STMNT): Define. --- ChangeLog | 6 ++++++ src/smooth/ftgrays.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 98f4ee5b4..91df4f8ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-04-13 David Weber + + [smooth] Fix stand-alone compilation. + + * src/smooth/ftgrays.c (FT_BEGIN_STMNT, FT_END_STMNT): Define. + 2014-04-12 Werner Lemberg [autofit] Redesign the recognition algorithm of strong points. diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c index 425911a96..27be96679 100644 --- a/src/smooth/ftgrays.c +++ b/src/smooth/ftgrays.c @@ -98,6 +98,9 @@ #define FT_ERR_XCAT( x, y ) x ## y #define FT_ERR_CAT( x, y ) FT_ERR_XCAT( x, y ) +#define FT_BEGIN_STMNT do { +#define FT_END_STMNT } while ( 0 ) + /* define this to dump debugging information */ /* #define FT_DEBUG_LEVEL_TRACE */