[UNICODE]
[reactos.git] / reactos / lib / cmlib / cmlib.h
index ff5470c..5fb8506 100644 (file)
@@ -13,7 +13,6 @@
 #define _CMLIB_DEBUG_ 1
 
 #ifdef CMLIB_HOST
-    #include <wine/unicode.h>
     #include <typedefs.h>
     #include <stdio.h>
     #include <string.h>
@@ -69,9 +68,6 @@
     #define PWORK_QUEUE_ITEM PVOID
     #define EX_PUSH_LOCK PULONG_PTR
 
-    /* For <host/wcsfuncs.h> */
-    #define USE_HOST_WCSFUNCS
-
     #define CMLTRACE(x, ...)
 #else
     //
     #endif
 
     #include <ntdef.h>
-    #undef DECLSPEC_IMPORT
-    #define DECLSPEC_IMPORT
     #include <ntddk.h>
-    #include <wcsfuncs.h>
+
+    /* Prevent inclusion of Windows headers through <wine/unicode.h> */
+    #define _WINDEF_
+    #define _WINBASE_
+    #define _WINNLS_
 #endif
 
 
 
 #define CMAPI NTAPI
 
+#include <wine/unicode.h>
 #include <wchar.h>
 #include "hivedata.h"
 #include "cmdata.h"