diff options
author | behdad <behdad> | 2005-09-25 22:54:44 +0000 |
---|---|---|
committer | behdad <behdad> | 2005-09-25 22:54:44 +0000 |
commit | 6eca940da2d06054c25c2c82b7889fae22b6487a (patch) | |
tree | 9b1635b40cc5b040d0dd79cbb1ad8ef2753f08d1 | |
parent | e86ab320645a97cfb06b303418a38545a1f4510d (diff) |
Oops. Some more bits.
-rw-r--r-- | fribidi.c | 4 | ||||
-rw-r--r-- | fribidi_types.h | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -42,8 +42,8 @@ #endif #ifdef DEBUG -#define DBG(s) do { if (fribidi_debug_status(fribidienv)) { fprintf(stderr, s); } } while (0) -#define DBG2(s, t) do { if (fribidi_debug_status(fribidienv)) { fprintf(stderr, s, t); } } while (0) +#define DBG(s) do { if (fribidi_debug) { fprintf(stderr, s); } } while (0) +#define DBG2(s, t) do { if (fribidi_debug) { fprintf(stderr, s, t); } } while (0) #else #define DBG(s) #define DBG2(s, t) diff --git a/fribidi_types.h b/fribidi_types.h index fd027e9..8a52020 100644 --- a/fribidi_types.h +++ b/fribidi_types.h @@ -24,6 +24,7 @@ #define FRIBIDI_TYPES_H #include "fribidi_config.h" + #define FRIBIDI_INT8 char #if FRIBIDI_SIZEOF_INT+0 == 2 # define FRIBIDI_INT16 int |