Skip to content

Commit 1ed7107

Browse files
committed
Defining nullptr to NULL to work around build break for OS X/iOS.
1 parent 2daad43 commit 1ed7107

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Release/include/compat/SafeInt3.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ Version 3.0
128128
#endif
129129
#endif
130130

131-
#if NEEDS_NULLPTR_DEFINED
131+
// For some reason we keep getting compiler errors os OS X/iOS if nullptr isn't
132+
// defined to NULL
133+
#if NEEDS_NULLPTR_DEFINED || defined(__APPLE__)
132134
#define nullptr NULL
133135
#endif
134136

0 commit comments

Comments
 (0)