Portability for logical operators