From 9c1a85ef0fd3297d9efe93cdf983ed456ad7d289 Mon Sep 17 00:00:00 2001 From: Martin Griffin Date: Sun, 14 Jul 2024 10:28:05 +0100 Subject: [PATCH] trainerproc: use -traditional-cpp to preserve Unicode characters (#4969) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 283df7ac0f2d..514764f79df7 100644 --- a/Makefile +++ b/Makefile @@ -346,7 +346,7 @@ sound/%.bin: sound/%.aif ; $(AIF) $< $@ COMPETITIVE_PARTY_SYNTAX := $(shell PATH="$(PATH)"; echo 'COMPETITIVE_PARTY_SYNTAX' | $(CPP) $(CPPFLAGS) -imacros include/global.h | tail -n1) ifeq ($(COMPETITIVE_PARTY_SYNTAX),1) -%.h: %.party tools ; $(CPP) $(CPPFLAGS) - < $< | sed '/#[^p]/d' | $(TRAINERPROC) -o $@ -i $< - +%.h: %.party tools ; $(CPP) $(CPPFLAGS) -traditional-cpp - < $< | sed '/#[^p]/d' | $(TRAINERPROC) -o $@ -i $< - endif ifeq ($(MODERN),0)