mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 06:49:08 +02:00
* Dotted filenames for package httpd20
This commit is contained in:
parent
11f433f0eb
commit
182d807037
3
packages/httpd20/namespaced/Api.Httpd20.Apr.pas
Normal file
3
packages/httpd20/namespaced/Api.Httpd20.Apr.pas
Normal file
@ -0,0 +1,3 @@
|
||||
unit Api.Httpd20.Apr;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i apr.pas}
|
3
packages/httpd20/namespaced/Api.Httpd20.Apriconv.pas
Normal file
3
packages/httpd20/namespaced/Api.Httpd20.Apriconv.pas
Normal file
@ -0,0 +1,3 @@
|
||||
unit Api.Httpd20.Apriconv;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i apriconv.pas}
|
3
packages/httpd20/namespaced/Api.Httpd20.Aprutil.pas
Normal file
3
packages/httpd20/namespaced/Api.Httpd20.Aprutil.pas
Normal file
@ -0,0 +1,3 @@
|
||||
unit Api.Httpd20.Aprutil;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i aprutil.pas}
|
3
packages/httpd20/namespaced/Api.Httpd20.Httpd.pas
Normal file
3
packages/httpd20/namespaced/Api.Httpd20.Httpd.pas
Normal file
@ -0,0 +1,3 @@
|
||||
unit Api.Httpd20.Httpd;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i httpd.pas}
|
12
packages/httpd20/namespaces.lst
Normal file
12
packages/httpd20/namespaces.lst
Normal file
@ -0,0 +1,12 @@
|
||||
src/aprutil/aprutil.pas=namespaced/Api.Httpd20.Aprutil.pas
|
||||
{s*:src/aprutil/}=namespaced/
|
||||
{i+:src/aprutil/}
|
||||
src/apriconv/apriconv.pas=namespaced/Api.Httpd20.Apriconv.pas
|
||||
{s*:src/apriconv/}=namespaced/
|
||||
{i+:src/apriconv/}
|
||||
src/apr/apr.pas=namespaced/Api.Httpd20.Apr.pas
|
||||
{s*:src/apr/}=namespaced/
|
||||
{i+:src/apr/}
|
||||
src/httpd.pas=namespaced/Api.Httpd20.Httpd.pas
|
||||
{s*:src/}=namespaced/
|
||||
{i+:src/}
|
@ -21,7 +21,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
}
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit apr;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
interface
|
||||
|
||||
@ -43,6 +45,15 @@ interface
|
||||
|
||||
{$define Apache2_0}
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses
|
||||
{$ifdef Windows}
|
||||
WinApi.Windows, WinApi.Winsock,
|
||||
{$ELSE}
|
||||
UnixApi.Types,
|
||||
{$ENDIF}
|
||||
System.SysUtils, System.CTypes;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses
|
||||
{$ifdef WINDOWS}
|
||||
Windows, winsock,
|
||||
@ -50,6 +61,7 @@ uses
|
||||
UnixType,
|
||||
{$ENDIF}
|
||||
SysUtils, ctypes;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
const
|
||||
{$IFDEF WINDOWS}
|
||||
|
@ -21,7 +21,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
}
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit apriconv;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
interface
|
||||
|
||||
@ -41,7 +43,11 @@ interface
|
||||
{$PACKRECORDS C}
|
||||
{$endif}
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses Api.Httpd20.Apr;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses apr;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
const
|
||||
{$IFDEF WINDOWS}
|
||||
|
@ -21,7 +21,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
}
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit aprutil;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
interface
|
||||
|
||||
@ -41,11 +43,19 @@ interface
|
||||
{$PACKRECORDS C}
|
||||
{$endif}
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses
|
||||
{$ifdef Windows}
|
||||
WinApi.Windows,
|
||||
{$ENDIF}
|
||||
Api.Httpd20.Apr, System.CTypes;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses
|
||||
{$ifdef WINDOWS}
|
||||
Windows,
|
||||
{$ENDIF}
|
||||
apr, ctypes;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
const
|
||||
{$IFDEF WINDOWS}
|
||||
|
@ -21,7 +21,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
}
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit httpd;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
{$ifdef fpc}
|
||||
{$mode delphi}{$H+}
|
||||
@ -43,6 +45,15 @@ unit httpd;
|
||||
|
||||
interface
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses
|
||||
{$ifdef Windows}
|
||||
WinApi.Windows,
|
||||
{$ELSE}
|
||||
UnixApi.Types,
|
||||
{$ENDIF}
|
||||
Api.Httpd20.Apr, Api.Httpd20.Aprutil, System.CTypes;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses
|
||||
{$ifdef WINDOWS}
|
||||
Windows,
|
||||
@ -50,6 +61,7 @@ uses
|
||||
UnixType,
|
||||
{$ENDIF}
|
||||
apr, aprutil, ctypes;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
const
|
||||
{$ifndef fpc}
|
||||
|
Loading…
Reference in New Issue
Block a user