diff options
author | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2014-04-06 12:49:38 +0000 |
---|---|---|
committer | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2014-04-06 12:49:38 +0000 |
commit | c31849d95470a761adb8c76f563baf26e6ae7bcd (patch) | |
tree | 250428351814b3b897beddd084fac97b79f316c3 /compiler/pp.pas | |
parent | 87496a06da21831d719eabd81808523542f1d809 (diff) | |
download | fpc-js.tar.gz |
+ initial skeleton of the js backendjs
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/js@27484 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/pp.pas')
-rw-r--r-- | compiler/pp.pas | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/pp.pas b/compiler/pp.pas index 09c307b7b4..acb773bc98 100644 --- a/compiler/pp.pas +++ b/compiler/pp.pas @@ -153,6 +153,12 @@ program pp; {$endif CPUDEFINED} {$define CPUDEFINED} {$endif AARCH64} +{$ifdef JS} + {$ifdef CPUDEFINED} + {$fatal ONLY one of the switches for the CPU type must be defined} + {$endif CPUDEFINED} + {$define CPUDEFINED} +{$endif} {$ifndef CPUDEFINED} {$fatal A CPU type switch must be defined} {$endif CPUDEFINED} |