From 89671c218b35a95af90428d6d3e23b752f575c90 Mon Sep 17 00:00:00 2001 From: "Marco Antonio J. Costa" Date: Sat, 22 Aug 2026 00:02:30 -0300 Subject: [PATCH] Drop two #defines that never did anything sgp/video.cpp guards _MT with #ifndef and then defines it 26 lines into the file, long after every header that could read it, and both cl and clang-cl already define _MT for the static runtime this project links. jascreens.cpp defines _UNICODE after its last include. The only effect on the binaries is 82 assert line numbers in video.cpp shifting by four and one in jascreens.cpp shifting by one. No object file's section sizes change. Co-Authored-By: Claude Opus 5 --- Ja2/jascreens.cpp | 1 - sgp/video.cpp | 4 ---- 2 files changed, 5 deletions(-) diff --git a/Ja2/jascreens.cpp b/Ja2/jascreens.cpp index 24a6f3ae5..f62816e40 100644 --- a/Ja2/jascreens.cpp +++ b/Ja2/jascreens.cpp @@ -36,7 +36,6 @@ #include "sgp_logger.h" #include -#define _UNICODE // Networking Stuff #ifdef NETWORKED diff --git a/sgp/video.cpp b/sgp/video.cpp index 1a8cbd741..562003387 100644 --- a/sgp/video.cpp +++ b/sgp/video.cpp @@ -22,10 +22,6 @@ #include "Text.h" -#ifndef _MT -#define _MT -#endif - extern int iScreenMode; ///////////////////////////////////////////////////////////////////////////////////////////////////