Reformulate #if not defined() because MSVC errors on this expression

This commit is contained in:
Zwelf 2020-08-08 18:38:38 +02:00
parent b2cf3cafc5
commit 61ffd88f34

View file

@ -30,7 +30,7 @@ CMysqlConnection::CMysqlConnection(
str_copy(m_aUser, pUser, sizeof(m_aUser));
str_copy(m_aPass, pPass, sizeof(m_aPass));
str_copy(m_aIp, pIp, sizeof(m_aIp));
#if not defined(CONF_SQL)
#ifndef CONF_SQL
dbg_msg("sql", "Adding MySQL server failed due to MySQL support not enabled during compile time");
#endif
}