@R patches to work with amigaos-*-m68k

This commit is contained in:
bebbo 2017-03-26 20:49:43 +02:00
parent f05e1e6bd5
commit 3be02d4321
2 changed files with 5 additions and 2 deletions

View File

@ -226,6 +226,11 @@ case "${host_os}" in
os_include_dir="os/generic"
atomicity_dir="cpu/generic"
;;
amiga*)
os_include_dir="os/newlib"
CXXFLAGS="${CXXFLAGS} -noixemul"
CPPFLAGS="${CPPFLAGS} -noixemul"
;;
bsd*)
# Plain BSD attempts to share FreeBSD files.
os_include_dir="os/bsd/freebsd"

View File

@ -149,9 +149,7 @@ namespace std
#if _GLIBCXX_USE_C99_STDIO
#undef snprintf
#ifndef AMIGA
#undef vfscanf
#endif
#undef vscanf
#undef vsnprintf
#undef vsscanf