[Scummvm-git-logs] scummvm master -> 7d96e84894f237379aad5b2f5c012a52a35ea4a0

digitall noreply at scummvm.org
Sun Oct 26 19:06:45 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
7d96e84894 BAGEL: MFC: Implement Windows Version Define Symbol For MFC Usage


Commit: 7d96e84894f237379aad5b2f5c012a52a35ea4a0
    https://github.com/scummvm/scummvm/commit/7d96e84894f237379aad5b2f5c012a52a35ea4a0
Author: D G Turner (digitall at scummvm.org)
Date: 2025-10-26T19:02:39Z

Commit Message:
BAGEL: MFC: Implement Windows Version Define Symbol For MFC Usage

This was previously undefined and thus implicitly defaulted to 0 which
produced GCC Compiler warnings if -Wundef is passed.

It is unclear if this should be set to a specific value instead, but
this avoids the undefined state and warnings.

Changed paths:
    engines/bagel/mfc/minwindef.h


diff --git a/engines/bagel/mfc/minwindef.h b/engines/bagel/mfc/minwindef.h
index e769bd96cae..34cad2171f6 100644
--- a/engines/bagel/mfc/minwindef.h
+++ b/engines/bagel/mfc/minwindef.h
@@ -25,6 +25,7 @@
 #include "common/scummsys.h"
 #include "common/algorithm.h"
 #include "common/rect.h"
+#define WINVER 0
 #include "bagel/mfc/winnt.h"
 
 namespace Bagel {




More information about the Scummvm-git-logs mailing list