summaryrefslogtreecommitdiffhomepage
path: root/dev/crt
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-10-23 10:08:05 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-10-23 10:08:05 +0200
commit08e69a55cfda4722277d16ddb632669edde3580b (patch)
treec84511296c0a8d290673df8ffaa52ef75a65a877 /dev/crt
parent1742d940e54696432459b8ced18b99bcafeb2178 (diff)
IMP: Process scheduler timer interrupt have been implemented, fixes regarding interrupt API and use __TOOLCHAINKIT__ instead of __NDK__
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/crt')
-rw-r--r--dev/crt/defines.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/crt/defines.h b/dev/crt/defines.h
index 38fe2b6c..ea821505 100644
--- a/dev/crt/defines.h
+++ b/dev/crt/defines.h
@@ -4,8 +4,8 @@
------------------------------------------- */
-#ifndef __NDK_DEFINES_HXX__
-#define __NDK_DEFINES_HXX__
+#ifndef __TOOLCHAINKIT_DEFINES_HXX__
+#define __TOOLCHAINKIT_DEFINES_HXX__
#include <stdint.h>
#include <stddef.h>
@@ -25,7 +25,7 @@ typedef char* caddr_t;
#ifdef __GNUC__
#include <crt/alloca.h>
-#elif defined(__NDK__)
+#elif defined(__TOOLCHAINKIT__)
#define __alloca(sz) __ndk_alloca(sz)
#endif
@@ -103,4 +103,4 @@ namespace std
}
} // namespace std
-#endif /* __NDK_DEFINES_HXX__ */
+#endif /* __TOOLCHAINKIT_DEFINES_HXX__ */