inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 83d2331a032b18346b967a6bdf6f336c0e2a26ef
parent 4be144252bf894e6a964a12d7dbc12f91ced908b
Author: Peter Powell <petpow@saberuk.com>
Date:   Fri,  8 Mar 2019 10:50:08 +0000

Fix an "unknown pragma" warning on Windows.

Diffstat:
Msrc/modules/m_httpd.cpp | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp @@ -40,7 +40,9 @@ #endif // Fix warnings about shadowing in http_parser. -#pragma GCC diagnostic ignored "-Wshadow" +#ifdef _GNUC +# pragma GCC diagnostic ignored "-Wshadow" +#endif #include <http_parser.c>