This patch should be pushed upstream to libevent. Terry / Ralph?
On Nov 5, 2010, at 2:54 PM, t...@osl.iu.edu wrote: > Author: tdd > Date: 2010-11-05 14:54:19 EDT (Fri, 05 Nov 2010) > New Revision: 23998 > URL: https://svn.open-mpi.org/trac/ompi/changeset/23998 > > Log: > corrected stdbool.h inclusion to allow Oracle C++ compilers to work with OMPI > Text files modified: > trunk/opal/mca/event/libevent207/libevent/include/event2/event.h | 4 > +++- > trunk/opal/mca/event/libevent207/libevent207.h | 3 > --- > 2 files changed, 3 insertions(+), 4 deletions(-) > > Modified: trunk/opal/mca/event/libevent207/libevent/include/event2/event.h > ============================================================================== > --- trunk/opal/mca/event/libevent207/libevent/include/event2/event.h > (original) > +++ trunk/opal/mca/event/libevent207/libevent/include/event2/event.h > 2010-11-05 14:54:19 EDT (Fri, 05 Nov 2010) > @@ -45,7 +45,9 @@ > #include <sys/time.h> > #endif > #ifndef WIN32 > -#include <stdbool.h> > +# if !(defined(c_plusplus) || defined(__cplusplus)) > +# include <stdbool.h> > +# endif > #endif > > #include <stdio.h> > > Modified: trunk/opal/mca/event/libevent207/libevent207.h > ============================================================================== > --- trunk/opal/mca/event/libevent207/libevent207.h (original) > +++ trunk/opal/mca/event/libevent207/libevent207.h 2010-11-05 14:54:19 EDT > (Fri, 05 Nov 2010) > @@ -42,9 +42,6 @@ > #include <string.h> > #include <assert.h> > #include <time.h> > -#ifndef WIN32 > -#include <stdbool.h> > -#endif > > #include "opal/class/opal_object.h" > #include "opal/threads/mutex.h" > _______________________________________________ > svn-full mailing list > svn-f...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/svn-full -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/