summaryrefslogtreecommitdiff
path: root/include/delphi/m_api.pas
diff options
context:
space:
mode:
Diffstat (limited to 'include/delphi/m_api.pas')
-rw-r--r--include/delphi/m_api.pas10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/delphi/m_api.pas b/include/delphi/m_api.pas
index 56bbe9cf3b..9d04c30ff1 100644
--- a/include/delphi/m_api.pas
+++ b/include/delphi/m_api.pas
@@ -24,6 +24,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
{$IFDEF WIN32}{$A4}{$ENDIF}
{$IFDEF WIN64}{$A8}{$ENDIF}
{$ENDIF}
+{$IFDEF FPC}
+ {$DEFINE AllowInline}
+{$ELSE}
+ {$IFDEF NativeCode} // Delphi.NET+
+ {$DEFINE AllowInline}
+ {$ENDIF}
+{$ENDIF}
+
unit m_api;
interface
@@ -243,7 +251,6 @@ var
{$include m_fontservice.inc}
{$include m_chat.inc}
{$include m_fingerprint.inc}
- {$include m_updater.inc}
{$include m_variables.inc}
{$include m_cluiframes.inc}
{$include m_popup.inc}
@@ -265,7 +272,6 @@ var
{$include m_help.inc}
{$include m_proto_listeningto.inc}
{$include m_toptoolbar.inc}
- {$include m_toolbar.inc}
{$include m_msg_buttonsbar.inc}
{$include m_json.inc}
{$define M_API_UNIT}