Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] [OMPI svn-full] svn:open-mpi r23998
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-11-05 14:58:06


This patch should be pushed upstream to libevent.

Terry / Ralph?

On Nov 5, 2010, at 2:54 PM, tdd_at_[hidden] 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-full_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/svn-full

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/