From 4490f19dcc73d1c79b235eecded6b1f66d0536e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Tue, 10 Feb 2015 16:39:19 +0100 Subject: [PATCH] Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework --- Lib/swiglabels.swg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/swiglabels.swg b/Lib/swiglabels.swg index d428ac33d..baa21a756 100644 --- a/Lib/swiglabels.swg +++ b/Lib/swiglabels.swg @@ -106,3 +106,7 @@ # define _SCL_SECURE_NO_DEPRECATE #endif +/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */ +#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) +# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 +#endif