diff --git a/conf.c b/conf.c index d6c536ee..065602ef 100644 --- a/conf.c +++ b/conf.c @@ -740,7 +740,7 @@ PHP_METHOD(RdKafka_Conf, setLogCb) Set token refresh callback for OAUTHBEARER sasl */ PHP_METHOD(RdKafka_Conf, setOauthbearerTokenRefreshCb) { -#ifndef HAS_RD_KAFKA_PARTITIONER_MURMUR2 +#ifndef HAS_RD_KAFKA_OAUTHBEARER_TOKEN_REFRESH_CB zend_throw_exception_ex(NULL, 0, "This version of rdkafka does not support the OAUTHBEARER sasl mechanism"); return; #endif