On Tue, 22 Feb 2005 19:59:05 +0100, Denis Oliver Kropp <[EMAIL PROTECTED]>
wrote:
> Hmm, that would require that stdbool.h is included before direct/types.h.
>
> But it's much better than nothing ;)
Here's a patch proposal, I've run this for a while, but there might be
issues I'm not aware of... --Kent
---
diff -ruN DirectFB/lib/direct/types.h DirectFB.mod/lib/direct/types.h
--- DirectFB/lib/direct/types.h 2005-01-12 17:23:09 -08:00
+++ DirectFB.mod/lib/direct/types.h 2005-02-22 11:31:39 -08:00
@@ -42,10 +42,12 @@
#ifndef __cplusplus
+#ifndef __bool_true_false_are_defined
typedef enum {
false = 0,
true = !false
} bool;
+#endif
#endif
typedef __u32 unichar;
--
Something, Anything!
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev