File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -86,12 +86,11 @@ if(TARGET BZip2::BZip2)
8686 cmake_push_check_state(RESET)
8787 set (CMAKE_REQUIRED_LIBRARIES BZip2::BZip2)
8888
89- # bzip versions 1.0.1 and earlier required <stdio.h> to be included before
90- # bzlib.h, to have FILE definition. In 1.0.4, minor version (4) has been
91- # updated in the bzlib.h header. BZ2_bzerror() is available as of 1.0.0.
89+ # Versions before 1.0.2 required <stdio.h> to be included before bzlib.h for
90+ # the FILE definition. BZ2_bzerror() is available as of 1.0.0.
9291 block()
9392 set (headers "bzlib.h" )
94- if (BZIP2_VERSION VERSION_LESS 1.0.4 )
93+ if (BZIP2_VERSION VERSION_LESS 1.0.2 )
9594 list (PREPEND headers "stdio.h" )
9695 endif ()
9796 check_symbol_exists(BZ2_bzerror "${headers} " PHP_EXT_BZ2_SANITY_CHECK)
You can’t perform that action at this time.
0 commit comments