File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ endif()
101101check_symbol_exists(strndup string .h HAVE_STRNDUP)
102102check_symbol_exists(utimes sys/time.h HAVE_UTIMES)
103103
104- php_check_function_attribute(visibility HAVE_VISIBILITY )
104+ php_check_function_attribute(visibility HAVE_FUNC_ATTRIBUTE_VISIBILITY )
105105
106106target_compile_definitions (
107107 php_ext_fileinfo
@@ -110,7 +110,7 @@ target_compile_definitions(
110110 # The libmagic still includes them conditionally.
111111 HAVE_WCHAR_H=1
112112 HAVE_INTTYPES_H=1
113- $<IF:$<BOOL :${HAVE_VISIBILITY } >,HAVE_VISIBILITY=1,HAVE_VISIBILITY=0>
113+ $<IF:$<BOOL :${HAVE_FUNC_ATTRIBUTE_VISIBILITY } >,HAVE_VISIBILITY=1,HAVE_VISIBILITY=0>
114114)
115115
116116target_include_directories (php_ext_fileinfo PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} )
You can’t perform that action at this time.
0 commit comments