Skip to content

Commit 5a85cea

Browse files
committed
Adding missing defined macro check for has_feature.
1 parent eb208f3 commit 5a85cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/include/compat/SafeInt3.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Version 3.0
111111
// For some reason we keep getting compiler errors on OS X/iOS if nullptr isn't
112112
// defined to NULL
113113
#define NEEDS_NULLPTR_DEFINED 1
114-
#elif __has_feature
114+
#elif defined(__has_feature)
115115
#if __has_feature(cxx_nullptr)
116116
#define NEEDS_NULLPTR_DEFINED 0
117117
#else

0 commit comments

Comments
 (0)