Explorar o código

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

git-svn-id: trunk@47593 -
pierre %!s(int64=4) %!d(string=hai) anos
pai
achega
787899b921
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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 }