windows-ntstatus-warnings-20071021
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 22 Oct 2007 04:32:09 +0000 (04:32 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 22 Oct 2007 04:32:09 +0000 (04:32 +0000)
suppress warnings caused by multiple definitions of NTSTATUS values

src/WINNT/afsd/smb.c

index 61ae01d..3be3393 100644 (file)
 #include <afs/stds.h>
 
 #include <windows.h>
+#pragma warning(push)
+#pragma warning(disable: 4005)
 #include <ntstatus.h>
+#pragma warning(pop)
 #include <stddef.h>
 #include <stdlib.h>
 #include <malloc.h>