Merging r37048, r37051, r37052, r37055 from the-real-msvc branch
[reactos.git] / reactos / lib / rtl / rtl.h
index d217c07..81d8268 100644 (file)
@@ -8,23 +8,31 @@
 
 /* INCLUDES ******************************************************************/
 
+#ifndef RTL_H
+#define RTL_H
+
+/* We're a core NT DLL, we don't import syscalls */
+#define WIN32_NO_STATUS
+#define _INC_SWPRINTF_INL_
+#undef __MSVCRT__
+
+/* C Headers */
+#include <stdlib.h>
+#include <stdio.h>
+
 /* PSDK/NDK Headers */
 #include <windows.h>
-#define NTOS_MODE_USER
 #include <ndk/ntndk.h>
 
-/* Helper Header */
+/* Internal RTL header */
+#include "rtlp.h"
+
+/* PSEH Support */
 #include <reactos/helper.h>
+#include <pseh/pseh.h>
 
-/* LIBSUPP Header */
-#include "libsupp.h"
+#include <intrin.h>
 
-/* FIXME: Move this somewhere else, maybe */
-#ifdef DBG
-extern VOID FASTCALL CHECK_PAGED_CODE_RTL(char *file, int line);
-#define PAGED_CODE_RTL() CHECK_PAGED_CODE_RTL(__FILE__, __LINE__)
-#else
-#define PAGED_CODE_RTL()
-#endif
+#endif /* RTL_H */
 
 /* EOF */