Skip to content

Commit 06dac62

Browse files
authored
Remove unused PHP_DL_TEST_EXPORTS and PHP_ZEND_TEST_EXPORTS (#21109)
In current code these aren't used on Windows build. The PHP_ZEND_TEST_EXPORTS was intended to fix MSVC level 1 (severe) warnings via 5a04796 but __declspec(dllexport) is now implemented unconditionally.
1 parent 81ef977 commit 06dac62

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

‎ext/dl_test/config.w32‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ ARG_ENABLE("dl-test", "enable dl_test extension", "no");
44

55
if(PHP_DL_TEST!="no"){
66
EXTENSION("dl_test","dl_test.c",true,"/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
7-
ADD_FLAG("CFLAGS_DL_TEST","/D PHP_DL_TEST_EXPORTS ");
87
}

‎ext/zend_test/config.w32‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ ARG_ENABLE("zend-test", "enable zend_test extension", "no");
44

55
if(PHP_ZEND_TEST!="no"){
66
EXTENSION("zend_test","test.c observer.c fiber.c iterators.c object_handlers.c zend_mm_custom_handlers.c",PHP_ZEND_TEST_SHARED,"/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
7-
ADD_FLAG("CFLAGS_ZEND_TEST","/D PHP_ZEND_TEST_EXPORTS ");
87
}

0 commit comments

Comments
 (0)