| 1 | /* |
| 2 | * Configuration for the Microsoft Visual Studio C++ compiler |
| 3 | * |
| 4 | * Copyright (C) 2012-2025, Joachim Metz <[email protected]> |
| 5 | * |
| 6 | * Refer to AUTHORS for acknowledgements. |
| 7 | * |
| 8 | * This program is free software: you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU Lesser General Public License as published by |
| 10 | * the Free Software Foundation, either version 3 of the License, or |
| 11 | * (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU Lesser General Public License |
| 19 | * along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 20 | */ |
| 21 | |
| 22 | #if !defined( _CONFIG_MSC_H ) |
| 23 | #define _CONFIG_MSC_H |
| 24 | |
| 25 | /* Disable warning C4127: conditional expression is constant |
| 26 | */ |
| 27 | #pragma warning( disable : 4127 ) |
| 28 | |
| 29 | /* Disable warning C4201: nonstandard extension used : nameless struct/union |
| 30 | */ |
| 31 | #pragma warning( disable : 4201 ) |
| 32 | |
| 33 | #endif /* !defined( _CONFIG_MSC_H ) */ |
| 34 |