mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-16 05:38:27 +00:00
Remove old non-compliant win32 defines.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
|
||||
|
||||
SET(qserv_sources
|
||||
database.cpp
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <vector>
|
||||
|
||||
// Disgrace: for windows compile
|
||||
#ifdef _WINDOWS
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#define snprintf _snprintf
|
||||
#define strncasecmp _strnicmp
|
||||
|
||||
@@ -106,7 +106,7 @@ int main() {
|
||||
}
|
||||
|
||||
void UpdateWindowTitle(char* iNewTitle) {
|
||||
#ifdef _WINDOWS
|
||||
#ifdef _WIN32
|
||||
char tmp[500];
|
||||
if (iNewTitle) {
|
||||
snprintf(tmp, sizeof(tmp), "QueryServ: %s", iNewTitle);
|
||||
|
||||
Reference in New Issue
Block a user