* Dotted filenames for package httpd22

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:58:01 +01:00
parent ce140620b9
commit 95654bcaa5
9 changed files with 64 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,12 @@
src/aprutil/aprutil.pas=namespaced/Api.Httpd22.Aprutil.pas
{s*:src/aprutil/}=namespaced/
{i+:src/aprutil/}
src/apriconv/apriconv.pas=namespaced/Api.Httpd22.Apriconv.pas
{s*:src/apriconv/}=namespaced/
{i+:src/apriconv/}
src/apr/apr.pas=namespaced/Api.Httpd22.Apr.pas
{s*:src/apr/}=namespaced/
{i+:src/apr/}
src/httpd.pas=namespaced/Api.Httpd22.pas
{s*:src/}=namespaced/
{i+:src/}

View File

@ -21,7 +21,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
} }
{$IFNDEF FPC_DOTTEDUNITS}
unit apr; unit apr;
{$ENDIF FPC_DOTTEDUNITS}
interface interface
@ -41,6 +43,15 @@ interface
{$PACKRECORDS C} {$PACKRECORDS C}
{$endif} {$endif}
{$IFDEF FPC_DOTTEDUNITS}
uses
{$ifdef Windows}
WinApi.Windows, WinApi.Winsock,
{$ELSE}
UnixApi.Types,
{$ENDIF}
System.SysUtils, System.CTypes;
{$ELSE FPC_DOTTEDUNITS}
uses uses
{$ifdef WINDOWS} {$ifdef WINDOWS}
Windows, winsock, Windows, winsock,
@ -48,6 +59,7 @@ uses
UnixType, UnixType,
{$ENDIF} {$ENDIF}
SysUtils, ctypes; SysUtils, ctypes;
{$ENDIF FPC_DOTTEDUNITS}
const const
{$IFDEF WINDOWS} {$IFDEF WINDOWS}

View File

@ -21,7 +21,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
} }
{$IFNDEF FPC_DOTTEDUNITS}
unit apriconv; unit apriconv;
{$ENDIF FPC_DOTTEDUNITS}
interface interface
@ -41,7 +43,11 @@ interface
{$PACKRECORDS C} {$PACKRECORDS C}
{$endif} {$endif}
{$IFDEF FPC_DOTTEDUNITS}
uses Api.Httpd22.Apr;
{$ELSE FPC_DOTTEDUNITS}
uses apr; uses apr;
{$ENDIF FPC_DOTTEDUNITS}
const const
{$IFDEF WINDOWS} {$IFDEF WINDOWS}

View File

@ -21,7 +21,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
} }
{$IFNDEF FPC_DOTTEDUNITS}
unit aprutil; unit aprutil;
{$ENDIF FPC_DOTTEDUNITS}
interface interface
@ -41,11 +43,19 @@ interface
{$PACKRECORDS C} {$PACKRECORDS C}
{$endif} {$endif}
{$IFDEF FPC_DOTTEDUNITS}
uses
{$ifdef Windows}
WinApi.Windows,
{$ENDIF}
Api.Httpd22.Apr, System.CTypes;
{$ELSE FPC_DOTTEDUNITS}
uses uses
{$ifdef WINDOWS} {$ifdef WINDOWS}
Windows, Windows,
{$ENDIF} {$ENDIF}
apr, ctypes; apr, ctypes;
{$ENDIF FPC_DOTTEDUNITS}
const const
{$IFDEF WINDOWS} {$IFDEF WINDOWS}

View File

@ -21,7 +21,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
} }
{$IFNDEF FPC_DOTTEDUNITS}
unit httpd; unit httpd;
{$ENDIF FPC_DOTTEDUNITS}
{$ifdef fpc} {$ifdef fpc}
{$mode delphi} {$mode delphi}
@ -45,6 +47,15 @@ unit httpd;
interface interface
{$IFDEF FPC_DOTTEDUNITS}
uses
{$ifdef Windows}
WinApi.Windows,
{$ELSE}
UnixApi.Types,
{$ENDIF}
Api.Httpd22.Apr, Api.Httpd22.Aprutil, System.CTypes;
{$ELSE FPC_DOTTEDUNITS}
uses uses
{$ifdef WINDOWS} {$ifdef WINDOWS}
Windows, Windows,
@ -52,6 +63,7 @@ uses
UnixType, UnixType,
{$ENDIF} {$ENDIF}
apr, aprutil, ctypes; apr, aprutil, ctypes;
{$ENDIF FPC_DOTTEDUNITS}
const const
{$ifndef fpc} {$ifndef fpc}