Do not -Dunix or -Darm, as they are namespace-invasive, and cause

variants of those CPP symbols to be defined that are contrary to
NetBSD's conventions.

Fixes building Xaw on ARM ELF.
This commit is contained in:
thorpej 2002-02-12 16:32:39 +00:00
parent e32fc00efe
commit a962d1ba86

View File

@ -64,7 +64,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "\
-Dunix -Darm -D__arm__ -D__NetBSD__ -D__ELF__ \
-D__arm__ -D__NetBSD__ -D__ELF__ \
-Asystem(unix) -Asystem(NetBSD) -Acpu(arm) -Amachine(arm)"
/* Define _POSIX_SOURCE if necessary. */