Henry Vermaak wrote:
2008/11/6 Martin Friebe <[EMAIL PROTECTED]>:
I am trying to find the right IFDEF, to make sure it compiles for powerpc.
I believe it would be
{$IFDEF CPUM68K} {$INLINE OFF} {$ENDIF}
Brad, could you see, if that works for you?
see http://www.freepascal.org/docs-html/prog/progap7.html for list of
pre-defines.
should that not be {$ifdef cpupowerpc} ?
Absolutely right.
Here is the patch I'm using.
Brad
--
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.
--- lazarus.clean/components/synedit/syneditfoldedview.pp 2008-11-05 04:10:01.000000000 +0400
+++ lazarus/components/synedit/syneditfoldedview.pp 2008-11-05 04:52:06.000000000 +0400
@@ -24,7 +24,7 @@
unit SynEditFoldedView;
{$mode objfpc}{$H+}
-{//$INLINE OFF}
+{$IFDEF CPUPOWERPC} {$INLINE OFF} {$ENDIF}
interface
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus