[Scummvm-git-logs] scummvm master -> 1ea8c9ef0371e7a0ecc5507c7ac6b3ce210856cf

ccawley2011 ccawley2011 at gmail.com
Wed Oct 14 15:42:46 UTC 2020


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

Summary:
1ea8c9ef03 DEVTOOLS: Fix compiling with MinGW


Commit: 1ea8c9ef0371e7a0ecc5507c7ac6b3ce210856cf
    https://github.com/scummvm/scummvm/commit/1ea8c9ef0371e7a0ecc5507c7ac6b3ce210856cf
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2020-10-14T16:42:28+01:00

Commit Message:
DEVTOOLS: Fix compiling with MinGW

Changed paths:
    devtools/create_myst3/create_myst3.cpp


diff --git a/devtools/create_myst3/create_myst3.cpp b/devtools/create_myst3/create_myst3.cpp
index 807141a8b1..4b5b2da945 100644
--- a/devtools/create_myst3/create_myst3.cpp
+++ b/devtools/create_myst3/create_myst3.cpp
@@ -20,6 +20,12 @@
  *
  */
 
+// HACK to allow building with the SDL backend on MinGW
+// see bug #1800764 "TOOLS: MinGW tools building broken"
+#ifdef main
+#undef main
+#endif // main
+
 #include <vector>
 #include <string>
 #include "file.h"




More information about the Scummvm-git-logs mailing list