diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/kernel.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c index fe9ffa9..128f5dd 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -1,3 +1,13 @@ +/* + * in freestanding mode we can just use this c lib headers + * stdbool,sddef,stdint, + * float,iso646,limits,stdarg + */ + +#ifdef __linux__ +#error "watchout! this is not linux but FoolOS. Use a cross-compiler" +#endif + #define FOOLOS_MODULE_NAME "kernel" #include "config.h" #include "asm/asm.h" |
