Remove unsupported weak pragma for Windows builds.

This commit is contained in:
Andrew Alderwick 2021-12-26 23:07:27 +00:00
parent d9e619d8a1
commit 0523bcc06d
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ MSYS_NT*|MINGW*) # MSYS2 on Windows
else
UXNEMU_LDFLAGS="-static $(sdl2-config --cflags --static-libs)"
fi
sed -i -e '/^#pragma weak /d' src/devices/ppu.c
;;
Darwin) # macOS
CFLAGS="${CFLAGS} -Wno-typedef-redefinition"