From 1a926f3ab636d7eaaa8482d0b21219bbf43f5457 Mon Sep 17 00:00:00 2001 From: enselic Date: Fri, 3 Oct 2008 08:25:53 +0000 Subject: src/rmd_types.h: To be on the safer side, only define TRUE and FALSE if they are not already defined. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@563 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/rmd_types.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'recordmydesktop/src') diff --git a/recordmydesktop/src/rmd_types.h b/recordmydesktop/src/rmd_types.h index 145f419..e09a52c 100644 --- a/recordmydesktop/src/rmd_types.h +++ b/recordmydesktop/src/rmd_types.h @@ -76,8 +76,12 @@ enum{ // Boolean type typedef int boolean; +#ifndef FALSE #define FALSE (0) +#endif +#ifndef TRUE #define TRUE (!FALSE) +#endif // Forward declarations typedef struct _ProgData ProgData; -- cgit v1.2.3