Revision: 8181
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8181&view=rev
Author:   gbiggs
Date:     2009-08-06 23:32:05 +0000 (Thu, 06 Aug 2009)

Log Message:
-----------
Guard true/false definition

Modified Paths:
--------------
    code/player/trunk/libplayercommon/playercommon.h

Modified: code/player/trunk/libplayercommon/playercommon.h
===================================================================
--- code/player/trunk/libplayercommon/playercommon.h    2009-08-06 16:35:26 UTC 
(rev 8180)
+++ code/player/trunk/libplayercommon/playercommon.h    2009-08-06 23:32:05 UTC 
(rev 8181)
@@ -100,16 +100,20 @@
 #endif
 
 #ifndef __cplusplus
-  #define true 1
-  #define false 0
+  #if !defined (true)
+    #define true 1
+  #endif
+  #if !defined (false)
+    #define false 0
+  #endif
 #endif
 
 #ifndef TRUE
-       #define TRUE true
+  #define TRUE true
 #endif
 
 #ifndef FALSE
-       #define FALSE false
+  #define FALSE false
 #endif
 
 
////////////////////////////////////////////////////////////////////////////////


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to