Skip to content
Permalink
Browse files

Eliminate a conflict between Apple's AssertMacros and the boost libra…

…ries when

compiling .mm (Objective-C++) files.
  • Loading branch information...
eliotmiranda committed May 6, 2019
1 parent a1ee2eb commit 6e57b1a4e43f5a14e164f139d4115a09f0171ff1
Showing with 3 additions and 0 deletions.
  1. +3 −0 platforms/iOS/vm/SqueakPureObjc_Prefix.pch
@@ -6,6 +6,9 @@
//

#ifdef __OBJC__
# ifdef __cplusplus
# define __ASSERTMACROS__ 1 // AssertMacros.h defines check, breaks boost
# endif
# import <Cocoa/Cocoa.h>
#endif

0 comments on commit 6e57b1a

Please sign in to comment.
You can’t perform that action at this time.