summaryrefslogtreecommitdiff
path: root/compiler/pp.pas
diff options
context:
space:
mode:
authorflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2006-02-02 17:26:18 +0000
committerflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2006-02-02 17:26:18 +0000
commitd4651156eb1eb0bf8c647b95a18a6e47e83a55c9 (patch)
tree11f5c84656f6031fcb9e40fe40054f580b235cfd /compiler/pp.pas
parentef8454299e49559c77bfdb6a338c1ba10afe22c2 (diff)
downloadfpc-d4651156eb1eb0bf8c647b95a18a6e47e83a55c9.tar.gz
* compilation for arm target fixed
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@2408 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/pp.pas')
-rw-r--r--compiler/pp.pas6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/pp.pas b/compiler/pp.pas
index 5d7c4b5c3e..acf6b6ce74 100644
--- a/compiler/pp.pas
+++ b/compiler/pp.pas
@@ -122,6 +122,12 @@ program pp;
{$endif CPUDEFINED}
{$define CPUDEFINED}
{$endif MIPS}
+ {$ifdef AVR}
+ {$ifdef CPUDEFINED}
+ {$fatal ONLY one of the switches for the CPU type must be defined}
+ {$endif CPUDEFINED}
+ {$define CPUDEFINED}
+ {$endif AVR}
{$ifndef CPUDEFINED}
{$fatal A CPU type switch must be defined}
{$endif CPUDEFINED}