Skip to content

Commit

Permalink
mamefile.mamemingw. fix for string weirdness and depend can frig off
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Oct 31, 2024
1 parent 6855224 commit 2968757
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions makefile.mamemingw
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2968757

Please sign in to comment.