Skip to content

Commit 92dcc0a

Browse files
committed
Remove bogus default stack size code for WIN32
1 parent 4725a72 commit 92dcc0a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Zend/zend_call_stack.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ static inline size_t zend_call_stack_default_size(void)
7474
#ifdef __FreeBSD__
7575
return 8 * 1024 * 1024;
7676
#endif
77-
#ifdef ZEND_WIN32
78-
// General
79-
// https://docs.microsoft.com/en-us/windows/win32/procthread/thread-stack-size
80-
return 1 * 1024 * 1024;
81-
// IIS
82-
// https://docs.microsoft.com/en-us/troubleshoot/developer/webapps/iis/site-behavior-performance/default-maximum-stack-size-thread
83-
return 256 * 1024;
84-
#endif
8577
#ifdef __APPLE__
8678
// https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Multithreading/CreatingThreads/CreatingThreads.html
8779
if (pthread_main_np()) {

0 commit comments

Comments
 (0)