diff options
author | Peter Powell <petpow@saberuk.com> | 2019-03-08 10:50:08 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-03-08 10:50:08 +0000 |
commit | 83d2331a032b18346b967a6bdf6f336c0e2a26ef (patch) | |
tree | 7c54ebdc688b46f82db8d1fd078669ee63fcc6ae /src | |
parent | 4be144252bf894e6a964a12d7dbc12f91ced908b (diff) |
Fix an "unknown pragma" warning on Windows.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_httpd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index 168e09bb8..e5d0a08e4 100644 --- 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> |