freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master f5ce182 2/2: [smooth] Fix stand-alone compilation.


From: Werner Lemberg
Subject: [freetype2] master f5ce182 2/2: [smooth] Fix stand-alone compilation.
Date: Sat, 20 Nov 2021 01:59:14 -0500 (EST)

branch: master
commit f5ce182420cfea55348969f3f3aef354c25eeae5
Author: Werner Lemberg <wl@gnu.org>
Commit: Werner Lemberg <wl@gnu.org>

    [smooth] Fix stand-alone compilation.
    
    * src/smooth/ftgrays.c (FT_Trace_Enable, FT_Trace_Disable)[STANDALONE_]:
    Define.
---
 src/smooth/ftgrays.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index 8235a94..d982c28 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_, \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]