[Freeciv-Dev] Re: (PR#2461) bool type already exists
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, 1 Dec 2002, Raimar Falke via RT wrote:
> Please try the attached patch.
Not good enough for BeOS, since it seems to read its bool typedef from
<posix/be_prim.h> for its posix layer. Including stdbool.h gives an
error, just as if typedef'ing it ourselves.
So we may need to put
#if __BEOS__
#include <posix/be_prim.h>
#else
... everything else ...
#endif
in there as well.
+#undef__bool_true_false_are_defined
+#define bool fc_bool
+#define __bool_true_false_are_defined 1
+typedef unsigned int fc_bool;
What's the point with these?
+#define TRUE true
+#define FALSE false
Please undefine first to be on the safe side.
- Per
- [Freeciv-Dev] Re: (PR#2461) bool type already exists,
Per I. Mathisen via RT <=
- Message not available
|
|