- Add DDK alignment macros and move/rename the ones in the NDK for user-mode only...
[reactos.git] / reactos / lib / crt / precomp.h
index e4c3281..6af39a1 100644 (file)
@@ -1,21 +1,33 @@
+#ifndef _CRT_PRECOMP_H
+#define _CRT_PRECOMP_H
+
+/* Some global constants to hack around the msvc build */
 #define _CRT_SECURE_NO_DEPRECATE
 #define _INC_WTIME_INL
 #define _INC_UTIME_INL
 #define _INC_TIME_INL
 
+/* Headers to be compiled */
 #include <stdio.h>
 #include <errno.h>
+#include <fcntl.h>
+#include <float.h>
 #include <malloc.h>
 #include <math.h>
+#include <limits.h>
 
+/* PSDK/NDK Headers */
 #define WIN32_NO_STATUS
 #include <windows.h>
-#define NTOS_MODE_USER
 #include <ndk/ntndk.h>
+#include <reactos/helper.h>
 
 #if !defined(_MSC_VER)
   #include <stdint.h>
 #endif
 
-/* This file is a hack and should for the most part go away */
+/* CRT Internal data */
 #include <internal/file.h>
+#include <internal/ieee.h>
+
+#endif /* _CRT_PRECOMP_H */