mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 23:29:32 +02:00
libcurl: it's now possible to compile it for Windows
git-svn-id: trunk@29642 -
This commit is contained in:
parent
c0e66deaf2
commit
351fe07d90
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user