Add missing ifdef check.

This commit is contained in:
Egor Pugin
2022-10-10 22:26:59 +03:00
committed by GitHub
parent 59b5b17e81
commit a0d4ec3915

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