File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ include "skipinf.inc";
88if (strtoupper (substr (PHP_OS , 0 , 3 )) !== 'WIN ' )
99 die ("skip this test is for Windows platforms only " );
1010?>
11- --XFAIL--
12- Fails on AppVeyor
1311--FILE--
1412<?php
1513
Original file line number Diff line number Diff line change 2121
2222#include "win32/console.h"
2323
24- ZEND_TLS zval ctrl_handler ;
25- ZEND_TLS DWORD ctrl_evt = (DWORD )- 1 ;
26- ZEND_TLS zend_bool * vm_interrupt_flag = NULL ;
24+ /* true globals; only used from main thread and from kernel callback */
25+ static zval ctrl_handler ;
26+ static DWORD ctrl_evt = (DWORD )- 1 ;
27+ static zend_bool * vm_interrupt_flag = NULL ;
2728
2829static void (* orig_interrupt_function )(zend_execute_data * execute_data );
2930
@@ -78,7 +79,7 @@ static BOOL WINAPI php_win32_signal_system_ctrl_handler(DWORD evt)
7879return FALSE;
7980}
8081
81- (void )InterlockedExchange (( LONG * ) vm_interrupt_flag , 1 );
82+ (void )InterlockedExchange8 ( vm_interrupt_flag , 1 );
8283
8384ctrl_evt = evt ;
8485
You can’t perform that action at this time.
0 commit comments