summaryrefslogtreecommitdiff
path: root/cpp
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
commitaeda3f89a4f60182802b15e9b8c5e81da8de5dcb (patch)
tree24be6e8fc1bfd05f935889f52805f3a14ec92b4e /cpp
parentfaadec09b4e5699311f78c8a550ab4b05b368f91 (diff)
downloadqpid-python-aeda3f89a4f60182802b15e9b8c5e81da8de5dcb.tar.gz
Consistent #if defined for header selectino.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732354 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/cluster/types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/types.h b/cpp/src/qpid/cluster/types.h
index 857b19cc8a..d8dc35f167 100644
--- a/cpp/src/qpid/cluster/types.h
+++ b/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"