]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-ntstatus-warnings-20071021
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 22 Oct 2007 04:33:20 +0000 (04:33 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 22 Oct 2007 04:33:20 +0000 (04:33 +0000)
suppress warnings caused by multiple definitions of NTSTATUS values

(cherry picked from commit fd1bf06004bc698242d8ceec88126384bba8f30f)

src/WINNT/afsd/smb.c

index 45880442ffa554114baee65d122bc1a9a0129429..23020184a4e9d94d07651c34989e4d7139b3998d 100644 (file)
 
 #ifndef DJGPP
 #include <windows.h>
+#pragma warning(push)
+#pragma warning(disable: 4005)
 #include <ntstatus.h>
+#pragma warning(pop)
 #else
 #include <sys/timeb.h>
 #include <tzfile.h>