Add missing ifdef check.

This commit is contained in:
Egor Pugin authored and GitHub committed 2022-10-10 22:26:59 +03:00
1 parent 59b5b17e81
commit a0d4ec3915
1 file changed
+1 -1
+1 -1
View File
@@ -245,7 +245,7 @@ template<class T, class U> inline bool operator!=(T * a, intrusive_ptr<U> const
return a != b.get();
}
#if __GNUC__ == 2 && __GNUC_MINOR__ <= 96
#if defined(__GNUC__) && __GNUC__ == 2 && __GNUC_MINOR__ <= 96
// Resolve the ambiguity between our op!= and the one in rel_ops