aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/platform.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index b927c54e7..baabd49b7 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -183,6 +183,16 @@ typedef int smallint;
183typedef unsigned smalluint; 183typedef unsigned smalluint;
184#endif 184#endif
185 185
186/* ISO C Standard: 7.16 Boolean type and values <stdbool.h> */
187#if (defined __digital__ && defined __unix__)
188/* old system without (proper) C99 support */
189#define bool smalluint
190#else
191/* modern system, so use it */
192#include <stdbool.h>
193#endif
194
195
186/* uclibc does not implement daemon() for no-mmu systems. 196/* uclibc does not implement daemon() for no-mmu systems.
187 * For 0.9.29 and svn, __ARCH_USE_MMU__ indicates no-mmu reliably. 197 * For 0.9.29 and svn, __ARCH_USE_MMU__ indicates no-mmu reliably.
188 * For earlier versions there is no reliable way to check if we are building 198 * For earlier versions there is no reliable way to check if we are building