Use boolean macro in exc_equal.