diff options
author | tono <tono@openoffice.org> | 2010-03-24 19:26:36 +0900 |
---|---|---|
committer | tono <tono@openoffice.org> | 2010-03-24 19:26:36 +0900 |
commit | fcf883e6883a699f8b8b3b3c34eeb9ede9230eee (patch) | |
tree | cbfb581a9a35a7ec17671170ef4675f8f0cd6ccf /shell | |
parent | mingwport29: merge with DEV300 m75 (diff) | |
download | core-fcf883e6883a699f8b8b3b3c34eeb9ede9230eee.tar.gz core-fcf883e6883a699f8b8b3b3c34eeb9ede9230eee.zip |
i#110194: Mingw port update fix: use alloca instead of _alloca in shell
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/wininetbe/wininetbackend.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/source/backends/wininetbe/wininetbackend.cxx b/shell/source/backends/wininetbe/wininetbackend.cxx index e28bab3affe4..af6f1036496d 100644 --- a/shell/source/backends/wininetbe/wininetbackend.cxx +++ b/shell/source/backends/wininetbe/wininetbackend.cxx @@ -37,6 +37,7 @@ #endif #include <windows.h> #include <wininet.h> +#include <sal/alloca.h> #if defined _MSC_VER #pragma warning(pop) #endif @@ -138,11 +139,11 @@ WinInetBackend::WinInetBackend() // in a stack overflow exception, we assume // this never happens, because of the relatively // small amount of memory we need - // _alloca is nice because it is fast and we don't + // alloca is nice because it is fast and we don't // have to free the allocated memory, it will be // automatically done lpi = reinterpret_cast< LPINTERNET_PROXY_INFO >( - _alloca( dwLength ) ); + alloca( dwLength ) ); bRet = lpfnInternetQueryOption( NULL, |