diff options
author | enselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2008-10-03 08:25:53 +0000 |
---|---|---|
committer | enselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2008-10-03 08:25:53 +0000 |
commit | 1a926f3ab636d7eaaa8482d0b21219bbf43f5457 (patch) | |
tree | 5081f616d327af3ba404681213cefaa31e8f458a /recordmydesktop/src | |
parent | 734cf05433128802d8d14db2d51fa096d6c133c6 (diff) |
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
Diffstat (limited to 'recordmydesktop/src')
-rw-r--r-- | recordmydesktop/src/rmd_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |