summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-01-07 15:00:55 +0000
committerAlan Conway <aconway@apache.org>2009-01-07 15:00:55 +0000
commit5fea304cfc23d056f94323404ff62320e541bbd7 (patch)
tree79bad55fd1f424692d46905036a2f9de8b4a3b49 /qpid/cpp/src
parent21f2ece6fd783d035bb16e6cef621a217bb18228 (diff)
downloadqpid-python-5fea304cfc23d056f94323404ff62320e541bbd7.tar.gz
Consistent #if defined for header selectino.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@732354 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/cluster/types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/qpid/cluster/types.h b/qpid/cpp/src/qpid/cluster/types.h
index 857b19cc8a..d8dc35f167 100644
--- a/qpid/cpp/src/qpid/cluster/types.h
+++ b/qpid/cpp/src/qpid/cluster/types.h
@@ -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"