summaryrefslogtreecommitdiff
path: root/src/base/ftobjs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/ftobjs.c')
-rw-r--r--src/base/ftobjs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index 8adfdffe1..47f583e25 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -5273,10 +5273,12 @@
if ( !memory || !alibrary )
return FT_THROW( Invalid_Argument );
+#ifndef FT_LOGGING
#ifdef FT_DEBUG_LEVEL_ERROR
/* init debugging support */
ft_debug_init();
-#endif
+#endif /* FT_DEBUG_LEVEL_ERROR */
+#endif /* FT_LOGGING */
/* first of all, allocate the library object */
if ( FT_NEW( library ) )