From fc6606edf84e483b780f5c0b990d355aab4dae8a Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 17 Mar 2026 06:20:16 +0100 Subject: [FEAT] Thread safe attribute as compiler extension of NeSystem's GCC. Signed-off-by: Amlal El Mahrouss --- src/libSystem/SystemKit/Macros.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libSystem') diff --git a/src/libSystem/SystemKit/Macros.h b/src/libSystem/SystemKit/Macros.h index 37150b01..14918c41 100644 --- a/src/libSystem/SystemKit/Macros.h +++ b/src/libSystem/SystemKit/Macros.h @@ -15,6 +15,9 @@ #define ATTRIBUTE(X) __attribute__((X)) +#define __THREAD_SAFE ATTRIBUTE(thread_safe) +#define __THREAD_UNSAFE + #define IMPORT_CXX extern "C++" #define IMPORT_C extern "C" -- cgit v1.2.3