You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2009/01/07 16:00:56 UTC
svn commit: r732354 - /qpid/trunk/qpid/cpp/src/qpid/cluster/types.h
Author: aconway
Date: Wed Jan 7 07:00:55 2009
New Revision: 732354
URL: http://svn.apache.org/viewvc?rev=732354&view=rev
Log:
Consistent #if defined for header selectino.
Modified:
qpid/trunk/qpid/cpp/src/qpid/cluster/types.h
Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/types.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/types.h?rev=732354&r1=732353&r2=732354&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/types.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/types.h Wed Jan 7 07:00:55 2009
@@ -34,9 +34,9 @@
#include <stdint.h>
extern "C" {
-#ifdef HAVE_OPENAIS_CPG_H
-#include <openais/cpg.h>
-#elif HAVE_COROSYNC_CPG_H
+#if defined (HAVE_OPENAIS_CPG_H)
+# include <openais/cpg.h>
+#elif defined (HAVE_COROSYNC_CPG_H)
# include <corosync/cpg.h>
#else
# error "No cpg.h header file available"