Selaa lähdekoodia

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

git-svn-id: trunk@47593 -
pierre 4 vuotta sitten
vanhempi
commit
787899b921
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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 }