summaryrefslogtreecommitdiffstats
path: root/mmc_updater/src/Platform.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-22 18:49:52 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-22 18:49:52 +0100
commit3051d0d3283656baafe6021e5036fdca9db0c4aa (patch)
tree1b8d57283c060c4cb6b88fec75fc2afd03916f5d /mmc_updater/src/Platform.h
parent7a07ed79407edcb2a543aa0dc80745a0b8c2e234 (diff)
downloadMultiMC-3051d0d3283656baafe6021e5036fdca9db0c4aa.tar
MultiMC-3051d0d3283656baafe6021e5036fdca9db0c4aa.tar.gz
MultiMC-3051d0d3283656baafe6021e5036fdca9db0c4aa.tar.lz
MultiMC-3051d0d3283656baafe6021e5036fdca9db0c4aa.tar.xz
MultiMC-3051d0d3283656baafe6021e5036fdca9db0c4aa.zip
Make pack200 use QFile by proxy, eliminating some unicode issues.
Diffstat (limited to 'mmc_updater/src/Platform.h')
-rw-r--r--mmc_updater/src/Platform.h4
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__