* Dotted filenames for package httpd20

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:58:07 +01:00 committed by Pierre Muller
parent 11f433f0eb
commit 182d807037
9 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,3 @@
unit Api.Httpd20.Apr;
{$DEFINE FPC_DOTTEDUNITS}
{$i apr.pas}

View File

@ -0,0 +1,3 @@
unit Api.Httpd20.Apriconv;
{$DEFINE FPC_DOTTEDUNITS}
{$i apriconv.pas}

View File

@ -0,0 +1,3 @@
unit Api.Httpd20.Aprutil;
{$DEFINE FPC_DOTTEDUNITS}
{$i aprutil.pas}

View File

@ -0,0 +1,3 @@
unit Api.Httpd20.Httpd;
{$DEFINE FPC_DOTTEDUNITS}
{$i httpd.pas}

View 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/}

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}