mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-12 19:18:20 +00:00
Reformulate #if not defined()
because MSVC errors on this expression
This commit is contained in:
parent
b2cf3cafc5
commit
61ffd88f34
|
@ -30,7 +30,7 @@ CMysqlConnection::CMysqlConnection(
|
||||||
str_copy(m_aUser, pUser, sizeof(m_aUser));
|
str_copy(m_aUser, pUser, sizeof(m_aUser));
|
||||||
str_copy(m_aPass, pPass, sizeof(m_aPass));
|
str_copy(m_aPass, pPass, sizeof(m_aPass));
|
||||||
str_copy(m_aIp, pIp, sizeof(m_aIp));
|
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");
|
dbg_msg("sql", "Adding MySQL server failed due to MySQL support not enabled during compile time");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue