Author: rhuijben
Date: Tue Nov 24 09:50:43 2015
New Revision: 1716094

URL: http://svn.apache.org/viewvc?rev=1716094&view=rev
Log:
* SConstruct
  Check for the existance of stdbool.h to avoid different behavior when
  including other headers that might have already included it.

Modified:
    serf/trunk/SConstruct

Modified: serf/trunk/SConstruct
URL: 
http://svn.apache.org/viewvc/serf/trunk/SConstruct?rev=1716094&r1=1716093&r2=1716094&view=diff
==============================================================================
--- serf/trunk/SConstruct (original)
+++ serf/trunk/SConstruct Tue Nov 24 09:50:43 2015
@@ -440,6 +440,8 @@ if CALLOUT_OKAY:
   conf = Configure(env)
 
   ### some configuration stuffs
+  if conf.CheckCHeader('stdbool.h'):
+    env.Append(CPPDEFINES=['HAVE_STDBOOL_H'])
 
   env = conf.Finish()
 


Reply via email to