Ver Fonte

* updated to work with windows

git-svn-id: trunk@4712 -
florian há 19 anos atrás
pai
commit
3d18d06c25
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      packages/extra/libpng/png.pp

+ 5 - 0
packages/extra/libpng/png.pp

@@ -1,3 +1,4 @@
+{$smartlink on}
 unit png;
 unit png;
 
 
 interface
 interface
@@ -13,7 +14,11 @@ uses
  zlib;
  zlib;
 
 
 Const
 Const
+{$ifdef windows}
+  LibPng = 'libpng13'; // Library name
+{$else windows}
   LibPng = 'png'; // Library name
   LibPng = 'png'; // Library name
+{$endif windows}
 
 
 type
 type
    size_t = longint;
    size_t = longint;