* Dotted filenames for package matroska

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:58:04 +01:00
parent d05bcd846e
commit 9e083789ba
3 changed files with 14 additions and 1 deletions

View File

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

View File

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

View File

@ -32,15 +32,22 @@
**
**********************************************************************)
{$IFNDEF FPC_DOTTEDUNITS}
unit matroska;
{$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}
@ -230,4 +237,4 @@ int matroska_track_close(matroska_track);
implementation
end.
end.