mescc: Mes C Library: Add x86_64 libc-mini support.
[mes.git] / lib / linux / libc-mini.c
index 84d7d555687911e658b2a59e5ce0541e59089e8e..0bcfcb0ec42510cd24522b6021192233bb58fb72 100644 (file)
 
 #if __MESC__
 
-#include <linux/mini-mes.c>
+#include <linux/x86-mes/mini.c>
 
-#else // !__MESC__
+#elif __i386__
 
-#include <linux/mini-gcc.c>
+#include <linux/x86-mes-gcc/mini.c>
 
-#endif // !__MESC__
+#elif __x86_64__
+
+#include <linux/x86_64-mes-gcc/mini.c>
+
+#else
+
+#error arch not supported
+
+#endif
 
 ssize_t
 write (int filedes, void const *buffer, size_t size)