• J
    [libpng16] Fixed fixed/float API export conditionals. 1) If FIXED_POINT or · bce79882
    John Bowler 提交于
        FLOATING_POINT options were switched off, png.h ended up with lone ';'
        characters.  This is not valid ANSI-C outside a function.  The ';'
        characters have been moved inside the definition of PNG_FP_EXPORT and
        PNG_FIXED_EXPORT. 2) If either option was switched off, the declaration
        of the corresponding functions were completely omitted, even though some
        of them are still used internally.  The result is still valid, but
        produces warnings from gcc with some warning options (including -Wall). The
        fix is to cause png.h to declare the functions with PNG_INTERNAL_FUNCTION
        when png.h is included from pngpriv.h.
    bce79882
pngpriv.h 68.0 KB