Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mz.h: fix build with gcc 4.8 #515

Merged
merged 1 commit into from
Jul 26, 2020
Merged

mz.h: fix build with gcc 4.8 #515

merged 1 commit into from
Jul 26, 2020

Commits on Jul 25, 2020

  1. mz.h: fix build with gcc 4.8

    gcc 4.8 does not support __has_include directive as a result the build
    will fail on:
    
    /home/naourr/work/instance-1/output-1/build/minizip-2.10.0/mz.h:162:44: error: missing binary operator before token "("
        (defined(__has_include) && __has_include(<stdint.h>))
                                                ^
    
    Fix it by appling:
    https://gcc.gnu.org/onlinedocs/gcc-10.1.0/cpp/_005f_005fhas_005finclude.html
    
    Fix #510
    
    Signed-off-by: Fabrice Fontaine <[email protected]>
    ffontaine committed Jul 25, 2020
    Configuration menu
    Copy the full SHA
    d38254c View commit details
    Browse the repository at this point in the history