On Sat, Feb 20, 2010 at 10:28 PM, Theppitak Karoonboonyanan
<[email protected]> wrote:
> TRUE/FALSE macro definitions are just missing.
Just a small adjustment. I should have guarded against
duplicate definitions.
--
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/
diff -ruN newt-0.52.10-old/newt.c newt-0.52.10/newt.c
--- newt-0.52.10-old/newt.c 2010-02-20 22:13:32.000000000 +0700
+++ newt-0.52.10/newt.c 2010-02-21 10:08:38.000000000 +0700
@@ -22,6 +22,13 @@
#include <fribidi/fribidi.h>
#include <dlfcn.h>
+#ifndef TRUE
+# define TRUE 1
+#endif
+#ifndef FALSE
+# define FALSE 0
+#endif
+
/* No sense in enabling shaping if we don't have BIDI support. */
typedef struct
{