mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 21:48:35 +02:00
* Dotted filenames for package libcurl
This commit is contained in:
parent
3e5323476d
commit
b2543a0f18
3
packages/libcurl/namespaced/Api.Libcurl.pp
Normal file
3
packages/libcurl/namespaced/Api.Libcurl.pp
Normal file
@ -0,0 +1,3 @@
|
||||
unit Api.Libcurl;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i libcurl.pp}
|
3
packages/libcurl/namespaces.lst
Normal file
3
packages/libcurl/namespaces.lst
Normal file
@ -0,0 +1,3 @@
|
||||
src/libcurl.pp=namespaced/Api.Libcurl.pp
|
||||
{s*:src/}=namespaced/
|
||||
{i+:src/}
|
@ -16,21 +16,35 @@
|
||||
website for this.
|
||||
}
|
||||
{$mode objfpc}
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit libcurl;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
interface
|
||||
|
||||
{$IFDEF WINDOWS}
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses
|
||||
System.CTypes;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses
|
||||
ctypes;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
type
|
||||
time_t = clong;
|
||||
PTime_t = ^time_t;
|
||||
off_t = clong;
|
||||
{$ELSE}
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses
|
||||
UnixApi.Types;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses
|
||||
unixtype;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
{$ENDIF}
|
||||
|
||||
{$IFDEF FPC}
|
||||
|
Loading…
Reference in New Issue
Block a user