From 4c26e4f9894b85fe08694181a8b401a769863495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Van=20Canneyt?= Date: Fri, 23 Feb 2024 14:33:09 +0100 Subject: [PATCH] * Enable monitor support --- rtl/aix/system.pp | 1 + rtl/bsd/system.pp | 2 +- rtl/nativent/system.pp | 1 + rtl/solaris/system.pp | 2 ++ rtl/wasi/system.pp | 2 ++ rtl/win32/system.pp | 2 ++ rtl/win64/system.pp | 2 ++ rtl/wince/system.pp | 1 + 8 files changed, 12 insertions(+), 1 deletion(-) diff --git a/rtl/aix/system.pp b/rtl/aix/system.pp index 6844176fb2..0b00a2805f 100644 --- a/rtl/aix/system.pp +++ b/rtl/aix/system.pp @@ -17,6 +17,7 @@ unit System; interface {$define FPC_IS_SYSTEM} +{$DEFINE SYSTEM_HAS_FEATURE_MONITOR} {$linklib m} diff --git a/rtl/bsd/system.pp b/rtl/bsd/system.pp index 1356cb0071..52e654ecfa 100644 --- a/rtl/bsd/system.pp +++ b/rtl/bsd/system.pp @@ -24,7 +24,7 @@ Unit System; Interface - +{$DEFINE SYSTEM_HAS_FEATURE_MONITOR} {$define FPC_USE_SIGPROCMASK} {$define FPC_USE_SIGALTSTACK} diff --git a/rtl/nativent/system.pp b/rtl/nativent/system.pp index bdb84ad322..9384345d8a 100644 --- a/rtl/nativent/system.pp +++ b/rtl/nativent/system.pp @@ -15,6 +15,7 @@ unit System; interface +{$DEFINE SYSTEM_HAS_FEATURE_MONITOR} {$define FPC_IS_SYSTEM} {$ifdef SYSTEMDEBUG} {$define SYSTEMEXCEPTIONDEBUG} diff --git a/rtl/solaris/system.pp b/rtl/solaris/system.pp index 5a52c9241c..a624c8d8fd 100644 --- a/rtl/solaris/system.pp +++ b/rtl/solaris/system.pp @@ -16,6 +16,8 @@ unit System; interface + +{$DEFINE SYSTEM_HAS_FEATURE_MONITOR} {$define FPC_IS_SYSTEM} {$linklib m} diff --git a/rtl/wasi/system.pp b/rtl/wasi/system.pp index a9b2800f04..8a2c42fdff 100644 --- a/rtl/wasi/system.pp +++ b/rtl/wasi/system.pp @@ -17,6 +17,8 @@ unit system; interface + +{$DEFINE SYSTEM_HAS_FEATURE_MONITOR} {$define FPC_IS_SYSTEM} {$ifdef FPC_WASM_THREADS} {$define DISABLE_NO_THREAD_MANAGER} diff --git a/rtl/win32/system.pp b/rtl/win32/system.pp index 6b2bda7ab3..230e1b6191 100644 --- a/rtl/win32/system.pp +++ b/rtl/win32/system.pp @@ -16,6 +16,8 @@ unit System; interface + +{$DEFINE SYSTEM_HAS_FEATURE_MONITOR} {$define FPC_IS_SYSTEM} {$ifdef SYSTEMDEBUG} {$define SYSTEMEXCEPTIONDEBUG} diff --git a/rtl/win64/system.pp b/rtl/win64/system.pp index f740d09e43..6011eb9855 100644 --- a/rtl/win64/system.pp +++ b/rtl/win64/system.pp @@ -17,6 +17,8 @@ unit System; interface + +{$DEFINE SYSTEM_HAS_FEATURE_MONITOR} {$define FPC_IS_SYSTEM} { $define SYSTEMEXCEPTIONDEBUG} diff --git a/rtl/wince/system.pp b/rtl/wince/system.pp index 1d26a70e42..72dcc2ec19 100644 --- a/rtl/wince/system.pp +++ b/rtl/wince/system.pp @@ -17,6 +17,7 @@ unit System; interface +{$DEFINE SYSTEM_HAS_FEATURE_MONITOR} {$define FPC_IS_SYSTEM} {$ifdef SYSTEMDEBUG} {$define SYSTEMEXCEPTIONDEBUG}