Remove old non-compliant win32 defines.

This commit is contained in:
KimLS
2019-06-22 16:00:06 -07:00
parent 5d138891d8
commit 4ae0f2a1d7
103 changed files with 192 additions and 306 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
SET(ucs_sources
chatchannel.cpp
+1 -1
View File
@@ -32,7 +32,7 @@
#include <map>
// Disgrace: for windows compile
#ifdef _WINDOWS
#ifdef _WIN32
#include <windows.h>
#define snprintf _snprintf
#define strncasecmp _strnicmp
+1 -1
View File
@@ -167,7 +167,7 @@ int main() {
}
void UpdateWindowTitle(char* iNewTitle) {
#ifdef _WINDOWS
#ifdef _WIN32
char tmp[500];
if (iNewTitle) {
snprintf(tmp, sizeof(tmp), "UCS: %s", iNewTitle);