summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys
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
commit6018506d22b93c69313750e416aee6d62023c4b6 (patch)
tree40c0eaba5afdc9b4493e703697f3857f31b6bb7d /cpp/src/qpid/sys
parent4a7552bd9ee9162528d5d1b2689aeeb21ec364a3 (diff)
downloadqpid-python-6018506d22b93c69313750e416aee6d62023c4b6.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/qpid@1185312 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys')
-rw-r--r--cpp/src/qpid/sys/alloca.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/sys/alloca.h b/cpp/src/qpid/sys/alloca.h
index 0f58920908..b3f59b7c3f 100644
--- a/cpp/src/qpid/sys/alloca.h
+++ b/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*/