diff --git a/packages/mad/namespaced/Api.Mad.pas b/packages/mad/namespaced/Api.Mad.pas new file mode 100644 index 0000000000..7c18f8f8bc --- /dev/null +++ b/packages/mad/namespaced/Api.Mad.pas @@ -0,0 +1,3 @@ +unit Api.Mad; +{$DEFINE FPC_DOTTEDUNITS} +{$i mad.pas} diff --git a/packages/mad/namespaces.lst b/packages/mad/namespaces.lst new file mode 100644 index 0000000000..5142e19992 --- /dev/null +++ b/packages/mad/namespaces.lst @@ -0,0 +1,3 @@ +src/mad.pas=namespaced/Api.Mad.pas +{s*:src/}=namespaced/ +{i+:src/} diff --git a/packages/mad/src/mad.pas b/packages/mad/src/mad.pas index e07a3133b8..243899e433 100644 --- a/packages/mad/src/mad.pas +++ b/packages/mad/src/mad.pas @@ -26,15 +26,22 @@ * so by contacting: Underbit Technologies, Inc. *) +{$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}