Browse code

Remove unsupported weak pragma for Windows builds.

Andrew Alderwick authored on 26/12/2021 23:07:27
Showing 1 changed files
... ...
@@ -36,6 +36,7 @@ MSYS_NT*|MINGW*) # MSYS2 on Windows
36 36
 	else
37 37
 		UXNEMU_LDFLAGS="-static $(sdl2-config --cflags --static-libs)"
38 38
 	fi
39
+	sed -i -e '/^#pragma weak /d' src/devices/ppu.c
39 40
 	;;
40 41
 Darwin) # macOS
41 42
 	CFLAGS="${CFLAGS} -Wno-typedef-redefinition"