summaryrefslogtreecommitdiff
path: root/rtl/inc
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2021-01-02 13:01:39 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2021-01-02 13:01:39 +0000
commitbc833e00319ebc59c6ba7c42558490b17f651157 (patch)
tree0b0be191eb58de2d98be45370e64ff313ac4b3d2 /rtl/inc
parent7bd931e22ec803a393bba7f8be7187f11fa1887e (diff)
downloadfpc-bc833e00319ebc59c6ba7c42558490b17f651157.tar.gz
* more updates to attempt to get a larger part of the full RTL to compile for WASM32
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/wasm@47970 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/inc')
-rw-r--r--rtl/inc/system.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/rtl/inc/system.inc b/rtl/inc/system.inc
index 6dbf9d73fc..ea2575c05c 100644
--- a/rtl/inc/system.inc
+++ b/rtl/inc/system.inc
@@ -315,6 +315,14 @@ function do_isdevice(handle:thandle):boolean;forward;
{$define SYSPROCDEFINED}
{$endif cpuz80}
+{$ifdef cpuwasm32}
+ {$ifdef SYSPROCDEFINED}
+ {$Error Can't determine processor type !}
+ {$endif}
+ {$i wasm32.inc} { Case dependent, don't change }
+ {$define SYSPROCDEFINED}
+{$endif cpuwasm32}
+
{$ifndef SYSPROCDEFINED}
{$Error Can't determine processor type !}
{$endif}