fix: corrected time conversion on alarm/sleep syscall
[lunaix-os.git] / lunaix-os / flags.h
index 61d12c92e729edc1e20f28751ab667919ba5d765..7f9835fb172d8f1e9cb56b8e92e36c80301fcc32 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __LUNAIX_FLAGS_H
 #define __LUNAIX_FLAGS_H
 
-#ifdef __ARCH_IA32
+#if __ARCH__ == i386
 #define PLATFORM_TARGET "x86_32"
 #else
 #define PLATFORM_TARGET "unknown"
@@ -9,12 +9,6 @@
 
 #define LUNAIX_VER "0.0.1-dev"
 
-/*
-    Uncomment below to force LunaixOS use kernel page table when context switch
-   to kernel space NOTE: This will make the kernel global.
-*/
-// #define USE_KERNEL_PG
-
 /*
     Uncomment below to disable all assertion
 */