Closed mistydemeo closed 6 years ago
This avoids redefining nullptr on platforms where it is defined, such as on macOS using recent versions of clang.
nullptr
I've confirmed that this fixes compilation on macOS 10.13 using Xcode 9.3.
cc @ilovezfs
Fixes #227.
I decided to go with the Boost macro here, but using cmake to detect the feature would also have been possible. Given that Boost is already required to build, this seemed like the most straightforward solution.
This avoids redefining
nullptr
on platforms where it is defined, such as on macOS using recent versions of clang.I've confirmed that this fixes compilation on macOS 10.13 using Xcode 9.3.
cc @ilovezfs
Fixes #227.