diff options
Diffstat (limited to 'include/delphi/m_api.pas')
-rw-r--r-- | include/delphi/m_api.pas | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/delphi/m_api.pas b/include/delphi/m_api.pas index 9d04c30ff1..df0069a7ff 100644 --- a/include/delphi/m_api.pas +++ b/include/delphi/m_api.pas @@ -24,11 +24,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. {$IFDEF WIN32}{$A4}{$ENDIF}
{$IFDEF WIN64}{$A8}{$ENDIF}
{$ENDIF}
+{$UNDEF AllowInline}
{$IFDEF FPC}
{$DEFINE AllowInline}
{$ELSE}
- {$IFDEF NativeCode} // Delphi.NET+
- {$DEFINE AllowInline}
+ {$IFDEF ConditionalExpressions}
+ {$IF System.ComiplerVersion >= 22.0}
+ {$DEFINE AllowInline}
+ {$IFEND}
{$ENDIF}
{$ENDIF}
@@ -66,6 +69,10 @@ type {$ENDIF}
long = longint;
plong = ^long;
+ {$IFDEF VER150}
+ UnicodeString = WideString;
+ ULONG_PTR = LongWord;
+ {$ENDIF}
DWORD_PTR = ULONG_PTR;
size_t = ULONG_PTR;
{$ENDIF}
|