# HG changeset patch # User koda # Date 1362647467 -3600 # Node ID c0e54583296e6a0d91c27f51464eddf4f934ed17 # Parent 45a976bf9ca4ab9dfbdab77711697219c82787c5 link png library in code on osx diff -r 45a976bf9ca4 -r c0e54583296e hedgewars/PNGh.pas --- a/hedgewars/PNGh.pas Thu Mar 07 11:23:01 2013 +0400 +++ b/hedgewars/PNGh.pas Thu Mar 07 10:11:07 2013 +0100 @@ -29,9 +29,13 @@ {$DEFINE cdecl attribute(cdecl)} {$ENDIF} +{$IFDEF DARWIN} + {$linklib png} +{$ENDIF} + const // Constants for libpng, they are not defined in png unit. - // We actually don't need all of them. + // We actually do not need all of them. // These describe the color_type field in png_info. // color type masks