* src/vm/os.cpp: System header checks are done in os.hpp, so no need to do
authorMichael Starzinger <michi@complang.tuwien.ac.at>
Tue, 3 Nov 2009 15:05:18 +0000 (16:05 +0100)
committerMichael Starzinger <michi@complang.tuwien.ac.at>
Tue, 3 Nov 2009 15:05:18 +0000 (16:05 +0100)
them here again.

src/vm/os.cpp

index 55241c617cca4719e63e8d2e2d58fd52b669b2ac..b0becaafb5838ac1e512b1479a370a2a9fae4788 100644 (file)
 
 #include "config.h"
 
-/* NOTE: In this file we check for all system headers, because we wrap
-   all system calls into functions for better portability. */
-
-#if defined(HAVE_ERRNO_H)
-# include <errno.h>
-#endif
-
-#if defined(HAVE_STDINT_H)
-# include <stdint.h>
-#endif
-
-#if defined(HAVE_STRING_H)
-# include <string.h>
-#endif
-
-#if defined(HAVE_UNISTD_H)
-# include <unistd.h>
-#endif
-
-#if defined(HAVE_SYS_MMAN_H)
-# include <sys/mman.h>
-#endif
-
 #if defined(__DARWIN__)
 # include <mach/mach.h>
 # include <mach/mach_host.h>
@@ -60,6 +37,7 @@
 
 #include "mm/memory.hpp"
 
+#include "vm/os.hpp"
 #include "vm/vm.hpp"