1/* Configuration fragment for hosts running a version of OpenBSD. 2 Copyright (C) 1999 Free Software Foundation, Inc. 3 4This file is part of GNU CC. 5 6GNU CC is free software; you can redistribute it and/or modify 7it under the terms of the GNU General Public License as published by 8the Free Software Foundation; either version 2, or (at your option) 9any later version. 10 11GNU CC is distributed in the hope that it will be useful, 12but WITHOUT ANY WARRANTY; without even the implied warranty of 13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14GNU General Public License for more details. 15 16You should have received a copy of the GNU General Public License 17along with GNU CC; see the file COPYING. If not, write to 18the Free Software Foundation, 59 Temple Place - Suite 330, 19Boston, MA 02111-1307, USA. */ 20/* This file gets included by all architectures. It holds stuff 21 that ought to be defined when hosting a compiler on an OpenBSD 22 machine, independently of the architecture. It's included by 23 ${cpu_type}/xm-openbsd.h, not included directly. */ 24 25/* OpenBSD is trying to be POSIX-compliant, to the point of fixing 26 problems that may occur with gcc's interpretation. */ 27#undef POSIX 28#define POSIX 29 30/* Ensure we get gnu C's defaults. */ 31#ifdef __GNUC__ 32#define alloca __builtin_alloca 33#endif 34 35 36