[ofw] [PATCH] faster compilation by replacing include <windows.h>

Smith, Stan stan.smith at intel.com
Wed Apr 14 10:03:28 PDT 2010


Done in svn 2783.

>-----Original Message-----
>From: Hefty, Sean
>Sent: Tuesday, April 13, 2010 3:52 PM
>To: Smith, Stan
>Cc: ofw at lists.openfabrics.org
>Subject: RE: [PATCH] faster compilation by replacing include
><windows.h>
>
>>Compile perftests faster by using ws2tcpip.h instead of
>window.h + winsock2.h.
>>Additionally compiles correctly outside of OFED src tree.
>>
>>signed-off-by: stan smith <stan.smith at intel.com>
>
>looks good - acked
>
>>
>>--- a/tests/perftest/perftest.h       Tue Apr 13 15:33:09 2010
>>+++ b/tests/perftest/perftest.h       Tue Apr 13 14:55:45 2010
>>@@ -33,8 +33,7 @@
>> #ifndef _PERFTEST_H_
>> #define _PERFTEST_H_
>>
>>-#include <windows.h>
>>-#include <winsock2.h>
>>+#include <ws2tcpip.h>
>>
>> typedef UINT64 cycles_t;
>>
>
>



More information about the ofw mailing list