Procházet zdrojové kódy

Allow easier disabling of $inline on, by using -dDISABLE_INLINE

git-svn-id: trunk@47593 -
pierre před 4 roky
rodič
revize
787899b921
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      compiler/fpcdefs.inc

+ 3 - 1
compiler/fpcdefs.inc

@@ -2,7 +2,9 @@
 {$asmmode default}
 {$H-}
 {$goto on}
-{$inline on}
+{$ifndef DISABLE_INLINE}
+  {$inline on}
+{$endif}
 {$interfaces corba}
 
 { This reduces the memory requirements a lot }