autotrace-0.31.1-bool.patch 273 B

12345678910111213
  1. --- types.h.old 2011-03-03 13:56:30.000000000 +0000
  2. +++ types.h 2011-03-03 13:59:45.000000000 +0000
  3. @@ -25,6 +25,9 @@
  4. #ifndef bool
  5. typedef enum { false = 0, true = 1 } at_bool;
  6. #else
  7. +#ifdef __ALTIVEC__
  8. +#include <stdbool.h>
  9. +#endif
  10. #define at_bool bool
  11. #endif
  12. #else