Same story as before....just fix the issue with strsafe.h and skip the 
NTDDI_WIN8 conditional?


-    strncpy_s(queue->name, NAME_LENGTH, name, NAME_LENGTH);
+#ifdef NTDDI_WIN8   
+    strncpy_s(queue->name, NAME_LENGTH, name, NAME_LENGTH);
+#else
+    strncpy(queue->name, name, NAME_LENGTH);
+#endif

>-----Original Message-----
>From: Alex Naslednikov [mailto:[email protected]]
>Sent: Sunday, June 19, 2011 5:25 AM
>To: Alex Naslednikov; [email protected]; Smith, Stan
>Subject: RE: [ofw] [Patches 5/26][Core] Adjust code to remove Prefast errors 
>and warning
>
>
>
>-----Original Message-----
>From: Alex Naslednikov
>Sent: Sunday, June 19, 2011 3:25 PM
>To: Alex Naslednikov; '[email protected]'; 'Smith, Stan'
>Subject: [ofw] [Patches 5/26][Core] Adjust code to remove Prefast errors and 
>warning
>
>Use safe functions only for Win8
>
>
>
>
>Alexander (XaleX) Naslednikov
>SW Networking Team
>Mellanox Technologies

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to