Commit 7630787a6a6b2d7bf5c61995f8521923a66f3e70

David Weber 2014-04-13T15:41:13

[smooth] Fix stand-alone compilation. * src/smooth/ftgrays.c (FT_BEGIN_STMNT, FT_END_STMNT): Define.

diff --git a/ChangeLog b/ChangeLog
index 98f4ee5..91df4f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-04-13  David Weber <weber.aulendorf@googlemail.com>
+
+	[smooth] Fix stand-alone compilation.
+
+	* src/smooth/ftgrays.c (FT_BEGIN_STMNT, FT_END_STMNT): Define.
+
 2014-04-12  Werner Lemberg  <wl@gnu.org>
 
 	[autofit] Redesign the recognition algorithm of strong points.
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index 425911a..27be966 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 */