Skip to content

Commit 74f2a54

Browse files
committed
CYGWIN: don't use _alloca() for adding stack space.
1 parent 7c4c2db commit 74f2a54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codec/decoder/plus/src/welsDecoderExt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ namespace WelsDec {
9090
***************************************************************************/
9191
DECLARE_PROCTHREAD (pThrProcInit, p) {
9292
SWelsDecThreadInfo* sThreadInfo = (SWelsDecThreadInfo*)p;
93-
#if defined(WIN32)
93+
#if defined(WIN32) && !defined(__CYGWIN__)
9494
_alloca (WELS_DEC_MAX_THREAD_STACK_SIZE * (sThreadInfo->uiThrNum + 1));
9595
#endif
9696
return sThreadInfo->pThrProcMain (p);

0 commit comments

Comments
 (0)