summaryrefslogtreecommitdiff
path: root/AppPkg/Applications/Sockets/WebServer/WebServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'AppPkg/Applications/Sockets/WebServer/WebServer.h')
-rw-r--r--AppPkg/Applications/Sockets/WebServer/WebServer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/AppPkg/Applications/Sockets/WebServer/WebServer.h b/AppPkg/Applications/Sockets/WebServer/WebServer.h
index a5dcea4969..48839f3456 100644
--- a/AppPkg/Applications/Sockets/WebServer/WebServer.h
+++ b/AppPkg/Applications/Sockets/WebServer/WebServer.h
@@ -34,8 +34,10 @@
#include <sys/poll.h>
#include <sys/socket.h>
+#if defined(_MSC_VER) // Handle Microsoft VC++ compiler specifics.
#pragma warning ( disable : 4054 )
#pragma warning ( disable : 4152 )
+#endif // defined(_MSC_VER)
//------------------------------------------------------------------------------
// Pages