From 61ffd88f346f4a1c9cc134a7e54714928dc74d43 Mon Sep 17 00:00:00 2001 From: Zwelf Date: Sat, 8 Aug 2020 18:38:38 +0200 Subject: [PATCH] Reformulate `#if not defined()` because MSVC errors on this expression --- src/engine/server/databases/mysql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/server/databases/mysql.cpp b/src/engine/server/databases/mysql.cpp index 3fbb20764..ab2543f47 100644 --- a/src/engine/server/databases/mysql.cpp +++ b/src/engine/server/databases/mysql.cpp @@ -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 }