* enable libcurl for windows (win32/win64)

* patch by Thaddy de Koning to fix teststream.pp, resolves #28436

git-svn-id: trunk@31260 -
This commit is contained in:
florian 2015-08-01 21:28:13 +00:00
parent 6ba4413478
commit 87ca4bd252
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
{$H+}
program teststream;
uses classes,libcurl,unixtype;
uses classes,libcurl,{$ifdef windows}ctypes{$else}unixtype{$endif};
Function DoWrite(Ptr : Pointer; Size : size_t; nmemb: size_t; Data : Pointer) : size_t;cdecl;

View File

@ -21,7 +21,7 @@ begin
P.Author := 'Library: Daniel Stenberg, header: Free Pascal development team';
P.License := 'Library: MIT, header: LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix,dragonfly];
P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix,dragonfly,win32,win64];
P.Email := '';
P.Description := 'Library to fetch files from URLs using many protocols.';
P.NeedLibC:= true; // true for headers that indirectly link to libc?