[ofw] PATCH: Decrease the time it takes to build the ibat lilb

Tzachi Dar tzachid at mellanox.co.il
Wed Nov 26 06:18:42 PST 2008


The file windows.h is a very big file, and there is no need to include
all of it.
 
more, since we are usually building drivers, it takes a long time to
bring it from cache.
 
Thanks
Tzachi
 
Index: Q:/projinf3/trunk/core/ibat/user/ibat.cpp
===================================================================
--- Q:/projinf3/trunk/core/ibat/user/ibat.cpp (revision 3552)
+++ Q:/projinf3/trunk/core/ibat/user/ibat.cpp (working copy)
@@ -57,7 +57,8 @@
 //  the SA.
 
 #pragma warning( push, 3 )
-#include <windows.h>
+#include <wtypes.h>
+
 #include <stdlib.h>
 #include <winioctl.h>
 #pragma warning( pop )

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20081126/46fad811/attachment.html>


More information about the ofw mailing list