summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2021-11-20 07:56:34 +0100
committerWerner Lemberg <wl@gnu.org>2021-11-20 07:58:40 +0100
commitf5ce182420cfea55348969f3f3aef354c25eeae5 (patch)
tree3f9143997593e791250b68c7672e815ab7c70af2
parent8c8f51c55813b4f01e1a77d4fc8838c6a5fb998c (diff)
downloadfreetype2-f5ce182420cfea55348969f3f3aef354c25eeae5.tar.gz
[smooth] Fix stand-alone compilation.
* src/smooth/ftgrays.c (FT_Trace_Enable, FT_Trace_Disable)[STANDALONE_]: Define.
-rw-r--r--src/smooth/ftgrays.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index 8235a94ec..d982c2820 100644
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -239,10 +239,13 @@ typedef ptrdiff_t FT_PtrDist;
#define FT_ERROR( x ) do { } while ( 0 ) /* nothing */
#define FT_THROW( e ) FT_ERR_CAT( Smooth_Err_, e )
-
#endif /* !FT_DEBUG_LEVEL_TRACE */
+#define FT_Trace_Enable() do { } while ( 0 ) /* nothing */
+#define FT_Trace_Disable() do { } while ( 0 ) /* nothing */
+
+
#define FT_DEFINE_OUTLINE_FUNCS( class_, \
move_to_, line_to_, \
conic_to_, cubic_to_, \