[UUID] Add a PCH.
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 9 Dec 2017 12:04:23 +0000 (13:04 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 9 Dec 2017 12:04:23 +0000 (13:04 +0100)
sdk/lib/uuid/CMakeLists.txt
sdk/lib/uuid/precomp.h [new file with mode: 0644]

index d99bc73..09efcd9 100644 (file)
@@ -219,7 +219,9 @@ list(APPEND SOURCE
 #    vcguids.c
     wdmguids.c
     otherguids.c
-    undoc.c)
+    undoc.c
+    precomp.h)
 
 add_library(uuid ${SOURCE})
+add_pch(uuid precomp.h SOURCE)
 add_dependencies(uuid psdk)
diff --git a/sdk/lib/uuid/precomp.h b/sdk/lib/uuid/precomp.h
new file mode 100644 (file)
index 0000000..abe35fa
--- /dev/null
@@ -0,0 +1,10 @@
+#ifndef _UUID_PRECOMP_H_
+#define _UUID_PRECOMP_H_
+
+#define WIN32_NO_STATUS
+#define WIN32_LEAN_AND_MEAN
+
+#include <rpc.h>
+#include <rpcndr.h>
+
+#endif /* _UUID_PRECOMP_H_ */