* Dotted filenames for package libgbafpc

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:57:58 +01:00
parent a3828c8e3e
commit a057c96717
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,3 @@
unit GBAApi.Maxmod;
{$DEFINE FPC_DOTTEDUNITS}
{$i maxmod.pp}

View File

@ -0,0 +1,6 @@
src/maxmod/maxmod.pp=namespaced/GBAApi.Maxmod.pp
{s*:src/maxmod/}=namespaced/
{i+:src/maxmod/}
src/gba.pp=namespaced/GBAApi.Gba.pp
{s*:src/}=namespaced/
{i+:src/}

View File

@ -21,7 +21,9 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF *
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *
****************************************************************************)
{$IFNDEF FPC_DOTTEDUNITS}
unit maxmod;
{$ENDIF FPC_DOTTEDUNITS}
{$mode objfpc}
@ -32,8 +34,13 @@ unit maxmod;
interface
{$IFDEF FPC_DOTTEDUNITS}
uses
System.CTypes, GBAApi.Gba;
{$ELSE FPC_DOTTEDUNITS}
uses
ctypes, gba;
{$ENDIF FPC_DOTTEDUNITS}
{$linklib gba}
{$linklib mm}