components/gnuplot/patches/syscfg.h.patch
author David Marx <David.M.Marx@Oracle.Com>
Tue, 26 Apr 2011 14:07:49 -0700
changeset 204 78dfe4707c7c
permissions -rw-r--r--
7028339 Desire to have gnuplot in userland gate

--- 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