diff options
Diffstat (limited to 'mmc_updater/src')
-rw-r--r-- | mmc_updater/src/Platform.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mmc_updater/src/Platform.h b/mmc_updater/src/Platform.h index 6d9afdfb..97867d6a 100644 --- a/mmc_updater/src/Platform.h +++ b/mmc_updater/src/Platform.h @@ -13,7 +13,9 @@ // disable warnings about exception specifications, // which are not implemented in Visual C++ - #pragma warning(disable:4290) + #ifdef MSVC + #pragma warning(disable:4290) + #endif #endif #ifdef __APPLE__ |