diff options
author | behdad <behdad> | 2002-05-16 11:57:58 +0000 |
---|---|---|
committer | behdad <behdad> | 2002-05-16 11:57:58 +0000 |
commit | 8bfd07490d3007bc7a6fec9856a293759d9993d5 (patch) | |
tree | 5c900f3645e112405ebc10be2ccd2a4d082fafef | |
parent | 95ba9667d044ffe9f5c33657f43844dcf47cdaea (diff) |
define TRUE and FALSE if not defined yet.
-rw-r--r-- | fribidi.h | 2 | ||||
-rw-r--r-- | fribidi_mem.h | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -154,7 +154,7 @@ extern "C" * FriBidiStrIndex sel_span[2] = {10,45}; * * fribidi_map_range(sel_span, - * FRIBIDI_TRUE, + * TRUE, * length, * vis2log_map, * embedding_levels, diff --git a/fribidi_mem.h b/fribidi_mem.h index 082195c..d0c9d5d 100644 --- a/fribidi_mem.h +++ b/fribidi_mem.h @@ -51,6 +51,13 @@ extern "C" #define FRIBIDI_TRUE 1 #define FRIBIDI_FALSE 0 +#ifndef TRUE +#define TRUE FRIBIDI_TRUE +#endif +#ifndef FALSE +#define FALSE FRIBIDI_FALSE +#endif + typedef struct _FriBidiList FriBidiList; struct _FriBidiList { |