OSDN Git Service

* defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / darwin.h
index 31efaac..81c24e7 100644 (file)
@@ -233,3 +233,7 @@ Boston, MA 02111-1307, USA.  */
    space/speed.  */
 #undef MAX_LONG_TYPE_SIZE
 #define MAX_LONG_TYPE_SIZE 32
+
+/* For binary compatibility with 2.95; Darwin C APIs use bool from
+   stdbool.h, which was an int-sized enum in 2.95.  */
+#define BOOL_TYPE_SIZE INT_TYPE_SIZE