libcurl: it's now possible to compile it for Windows

git-svn-id: trunk@29642 -
This commit is contained in:
Károly Balogh 2015-02-07 19:15:29 +00:00
parent c0e66deaf2
commit 351fe07d90

View File

@ -20,7 +20,18 @@ unit libcurl;
interface interface
uses unixtype; {$IFDEF WINDOWS}
uses
ctypes;
type
time_t = clong;
PTime_t = ^time_t;
off_t = clong;
{$ELSE}
uses
unixtype;
{$ENDIF}
{$IFDEF FPC} {$IFDEF FPC}
{$PACKRECORDS C} {$PACKRECORDS C}