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)
86
86
cmake_push_check_state (RESET )
87
87
set (CMAKE_REQUIRED_LIBRARIES BZip2::BZip2 )
88
88
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.
92
91
block ()
93
92
set (headers "bzlib.h" )
94
- if (BZIP2_VERSION VERSION_LESS 1.0.4 )
93
+ if (BZIP2_VERSION VERSION_LESS 1.0.2 )
95
94
list (PREPEND headers "stdio.h" )
96
95
endif ()
97
96
check_symbol_exists (BZ2_bzerror "${headers} " PHP_EXT_BZ2_SANITY_CHECK )
You can’t perform that action at this time.
0 commit comments