summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-10-03 08:25:53 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-10-03 08:25:53 +0000
commit1a926f3ab636d7eaaa8482d0b21219bbf43f5457 (patch)
tree5081f616d327af3ba404681213cefaa31e8f458a /recordmydesktop
parent734cf05433128802d8d14db2d51fa096d6c133c6 (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')
-rw-r--r--recordmydesktop/src/rmd_types.h4
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;
© All Rights Reserved