You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2011/10/17 20:02:35 UTC

svn commit: r1185312 - /qpid/trunk/qpid/cpp/src/qpid/sys/alloca.h

Author: chug
Date: Mon Oct 17 18:02:35 2011
New Revision: 1185312

URL: http://svn.apache.org/viewvc?rev=1185312&view=rev
Log:
QPID-2905 Fixes for mingw cross-compilation (C++)

Restore unreachable code for Solaris builds.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/sys/alloca.h

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/alloca.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/alloca.h?rev=1185312&r1=1185311&r2=1185312&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/alloca.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/alloca.h Mon Oct 17 18:02:35 2011
@@ -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*/



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org