summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles E. Rolke <chug@apache.org>2011-10-17 18:02:35 +0000
committerCharles E. Rolke <chug@apache.org>2011-10-17 18:02:35 +0000
commit6b1898081dd21c42f40e3a0588a39c2a89a6b5a2 (patch)
tree6bfa850cce8a319e62a3dea67d3c78c9ddaf27f0
parenta6611ca4d4ae0dba7ceb5dce335a216b5f662516 (diff)
downloadqpid-python-6b1898081dd21c42f40e3a0588a39c2a89a6b5a2.tar.gz
QPID-2905 Fixes for mingw cross-compilation (C++)
Restore unreachable code for Solaris builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1185312 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/qpid/sys/alloca.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/qpid/sys/alloca.h b/qpid/cpp/src/qpid/sys/alloca.h
index 0f58920908..b3f59b7c3f 100644
--- a/qpid/cpp/src/qpid/sys/alloca.h
+++ b/qpid/cpp/src/qpid/sys/alloca.h
@@ -34,9 +34,9 @@
# endif
# define alloca _alloca
# endif
-# if !defined _WINDOWS && !defined WIN32
-# include <alloca.h>
-# endif
+#endif
+#if !defined _WINDOWS && !defined WIN32
+# include <alloca.h>
#endif
#endif /*!QPID_SYS_ALLOCA_H*/