summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-04-28 13:18:41 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-04-28 13:20:31 -0400
commit1d52151a19ed8ec776276aac5cc6ce3769e0d947 (patch)
treeb0d2ad67c637a7253c5142308c39421ae9b1cb28
parent444fffb1ab378cb3022e2a8e9f90d20a00c82f6a (diff)
Minor
-rw-r--r--src/hb-private.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/hb-private.h b/src/hb-private.h
index b33d629..e4d2e54 100644
--- a/src/hb-private.h
+++ b/src/hb-private.h
@@ -31,7 +31,6 @@
#include "config.h"
#endif
-/* #define HB_DEBUG 1 */
#ifndef HB_DEBUG
#define HB_DEBUG 0
#endif
@@ -39,10 +38,13 @@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
-#if HB_DEBUG
+
+/* We only use these two for debug output. However, the debug code is
+ * always seen by the compiler (and optimized out in non-debug builds.
+ * If including these becomes a problem, we can start thinking about
+ * someway around that. */
#include <stdio.h>
#include <errno.h>
-#endif
#include "hb-common.h"