components/gnuplot/patches/syscfg.h.patch
author April Chin <april.chin@oracle.com>
Fri, 08 Jul 2011 13:30:02 -0700
changeset 382 5d2ca734dd20
parent 204 78dfe4707c7c
permissions -rw-r--r--
7058584 Move memcached-java from SFW to Userland

--- gnuplot-4.4.0/src/syscfg.h.orig	Tue Feb  2 21:01:00 2010
+++ gnuplot-4.4.0/src/syscfg.h	Mon Mar 28 16:38:32 2011
@@ -425,7 +425,7 @@
 #endif
 
 /* May or may not fix a problem reported for Sun Studio compilers */
-#if defined(__SUNPRO_CC) && !defined(bool)
+#if defined(__SUNPRO_CC) && !defined __cplusplus && !defined(bool)
 #define bool unsigned char
 #endif