Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53242 - sandbox/memory/boost/memory
From: xushiweizh_at_[hidden]
Date: 2009-05-25 03:41:42


Author: xushiwei
Date: 2009-05-25 03:41:42 EDT (Mon, 25 May 2009)
New Revision: 53242
URL: http://svn.boost.org/trac/boost/changeset/53242

Log:
_alloca
Text files modified:
   sandbox/memory/boost/memory/basic.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: sandbox/memory/boost/memory/basic.hpp
==============================================================================
--- sandbox/memory/boost/memory/basic.hpp (original)
+++ sandbox/memory/boost/memory/basic.hpp 2009-05-25 03:41:42 EDT (Mon, 25 May 2009)
@@ -208,6 +208,10 @@
 #include <malloc.h> // _alloca
 #endif
 
+#if !defined(_alloca) && !defined(_MSC_VER)
+#define _alloca alloca
+#endif
+
 NS_BOOST_MEMORY_BEGIN
 
 inline void swap(void* a, void* b, size_t cb)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk