hedgewars/PNGh.pas
changeset 8691 a59b35e3ad8f
parent 8685 c0e54583296e
child 8697 9624836094de
equal deleted inserted replaced
8682:158d7b36b18e 8691:a59b35e3ad8f
    27     {$PACKRECORDS C}
    27     {$PACKRECORDS C}
    28 {$ELSE}
    28 {$ELSE}
    29     {$DEFINE cdecl attribute(cdecl)}
    29     {$DEFINE cdecl attribute(cdecl)}
    30 {$ENDIF}
    30 {$ENDIF}
    31 
    31 
       
    32 {$IFDEF DARWIN}
       
    33     {$linklib png}
       
    34 {$ENDIF}
       
    35 
    32 const
    36 const
    33     // Constants for libpng, they are not defined in png unit.
    37     // Constants for libpng, they are not defined in png unit.
    34     // We actually don't need all of them.
    38     // We actually do not need all of them.
    35 
    39 
    36     // These describe the color_type field in png_info.
    40     // These describe the color_type field in png_info.
    37     // color type masks
    41     // color type masks
    38     PNG_COLOR_MASK_PALETTE = 1;
    42     PNG_COLOR_MASK_PALETTE = 1;
    39     PNG_COLOR_MASK_COLOR   = 2;
    43     PNG_COLOR_MASK_COLOR   = 2;