aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-10-29 15:42:30 +0200
committerMartin Ridgers <[email protected]>2021-10-29 15:49:27 +0200
commite785ca729bae6152eaf400ec2aad0bedc66ccd8c (patch)
tree8589d6eacb54c1bb01405ea7b98e59f0de927c61 /zencore/include
parentMissing include (diff)
downloadzen-e785ca729bae6152eaf400ec2aad0bedc66ccd8c.tar.xz
zen-e785ca729bae6152eaf400ec2aad0bedc66ccd8c.zip
Use THIRDPARTY_START/END instead of MSVC pragmas
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/zencore.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h
index 46162a804..6b98749fe 100644
--- a/zencore/include/zencore/zencore.h
+++ b/zencore/include/zencore/zencore.h
@@ -80,8 +80,9 @@
# if ZEN_COMPILER_MSC
# define ZEN_THIRD_PARTY_INCLUDES_START \
__pragma(warning(push)) \
- __pragma(warning(disable : 4668)) /* use of undefined preprocessor macro */ \
- __pragma(warning(disable : 4267)) /* '=': conversion from 'size_t' to 'US' */
+ __pragma(warning(disable : 4668)) /* use of undefined preprocessor macro */ \
+ __pragma(warning(disable : 4267)) /* '=': conversion from 'size_t' to 'US' */ \
+ __pragma(warning(disable : 4127))
# else
# define ZEN_THIRD_PARTY_INCLUDES_START
# endif