From 8dc0210f2cb18a292cd4352a57f616fdbd2dd9ee Mon Sep 17 00:00:00 2001 From: mauricio Date: Fri, 5 Jul 2013 19:27:53 -0300 Subject: [PATCH] Included stdbool.h --- src/platform/str9/type.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/platform/str9/type.h b/src/platform/str9/type.h index 02c04def..85c7b3e8 100644 --- a/src/platform/str9/type.h +++ b/src/platform/str9/type.h @@ -1,17 +1,8 @@ #ifndef __TYPE_H__ #define __TYPE_H__ -#ifndef NULL -#define NULL ((void *)0) -#endif - -#ifndef FALSE -#define FALSE (0) -#endif - -#ifndef TRUE -#define TRUE (1) -#endif +#include +enum { FALSE = 0, TRUE = !FALSE }; typedef unsigned char BYTE; typedef unsigned short WORD;