* Dotted filenames for package mad

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:58:02 +01:00
parent ba290bb358
commit 25f3dad01d
3 changed files with 13 additions and 0 deletions

View File

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

View File

@ -0,0 +1,3 @@
src/mad.pas=namespaced/Api.Mad.pas
{s*:src/}=namespaced/
{i+:src/}

View File

@ -26,15 +26,22 @@
* so by contacting: Underbit Technologies, Inc. <info@underbit.com>
*)
{$IFNDEF FPC_DOTTEDUNITS}
unit mad;
{$ENDIF FPC_DOTTEDUNITS}
{$mode objfpc}
{$MINENUMSIZE 4}
interface
{$IFDEF FPC_DOTTEDUNITS}
uses
System.CTypes;
{$ELSE FPC_DOTTEDUNITS}
uses
ctypes;
{$ENDIF FPC_DOTTEDUNITS}
{$IFDEF WINDOWS}
{$DEFINE DYNLINK}