diff options
Diffstat (limited to 'sal/osl/w32/tempfile.cxx')
-rw-r--r-- | sal/osl/w32/tempfile.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sal/osl/w32/tempfile.cxx b/sal/osl/w32/tempfile.cxx index 14478e694a60..3128fb3f65d1 100644 --- a/sal/osl/w32/tempfile.cxx +++ b/sal/osl/w32/tempfile.cxx @@ -34,12 +34,8 @@ #include <tchar.h> // Allocate n number of t's on the stack return a pointer to it in p -#ifdef __MINGW32__ -#define STACK_ALLOC(p, t, n) (p) = reinterpret_cast<t*>(_alloca((n)*sizeof(t))); -#else #define STACK_ALLOC(p, t, n) __try {(p) = static_cast<t*>(_alloca((n)*sizeof(t)));} \ __except(EXCEPTION_EXECUTE_HANDLER) {(p) = nullptr;} -#endif // Temp file functions |