From 29687578f7dba8fd7ffbe2544e0e327cf636b6f7 Mon Sep 17 00:00:00 2001 From: dinkc64 Date: Thu, 31 Oct 2024 01:01:56 -0400 Subject: [PATCH] mamefile.mamemingw. fix for string weirdness and depend can frig off --- makefile.mamemingw | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/makefile.mamemingw b/makefile.mamemingw index 74e27ceeb..9dafcf618 100644 --- a/makefile.mamemingw +++ b/makefile.mamemingw @@ -10,11 +10,6 @@ unexport # Flags. Uncomment any of these declarations to enable their function. # -# Check for changes in header files, but not if we want to skip the depend step -ifndef SKIPDEPEND -DEPEND = 1 -endif - # # Declare variables # @@ -185,6 +180,10 @@ CXXFLAGS = -pipe \ -Wno-unused-but-set-variable -Wno-sequence-point -Wno-narrowing -Wno-extra \ $(DEF) $(incdir) +#return back to msvcrt-style swprintf + CFLAGS += -D__USE_MINGW_ANSI_STDIO=0 + CXXFLAGS += -D__USE_MINGW_ANSI_STDIO=0 + ifdef BUILD_X64_EXE CFLAGS += -m64 CXXFLAGS += -m64