[Spread-cvs] commit: r444 - trunk/daemon
jonathan at spread.org
jonathan at spread.org
Fri Jan 6 20:23:39 EST 2012
Author: jonathan
Date: 2012-01-06 20:23:38 -0500 (Fri, 06 Jan 2012)
New Revision: 444
Modified:
trunk/daemon/Changelog
trunk/daemon/arch.h
Log:
Fix bool declaration so it is not used with C++ compilers
Modified: trunk/daemon/Changelog
===================================================================
--- trunk/daemon/Changelog 2012-01-07 01:13:14 UTC (rev 443)
+++ trunk/daemon/Changelog 2012-01-07 01:23:38 UTC (rev 444)
@@ -1,3 +1,8 @@
+Fri Jan 6 20:22:10 2012 John Schultz <jschultz at spreadconcepts.com>
+
+ * arch.h: Protect bool definition so it is not included when a
+ C++ compiler is used. Fix issue reported on spread-users list.
+
Fri Jan 6 20:12:34 2012 Jonathan Stanton <jonathan at spreadconcepts.com>
* message.c (Message_Buffer_to_Message_Fragments): Add sanity check
Modified: trunk/daemon/arch.h
===================================================================
--- trunk/daemon/arch.h 2012-01-07 01:13:14 UTC (rev 443)
+++ trunk/daemon/arch.h 2012-01-07 01:23:38 UTC (rev 444)
@@ -242,7 +242,9 @@
* General Useful Types
*/
+#ifndef __cplusplus
typedef short bool;
+#endif
#ifndef TRUE
#define TRUE 1
#endif
More information about the Spread-cvs
mailing list