]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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 61ae01dbe56647e10b5775b1091e0fa1198fccb9..3be3393d47662a9417a8ed1011093f79b3d7ce8a 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>