xref: /openbsd-src/gnu/gcc/libstdc++-v3/config/os/bsd/openbsd/os_defines.h (revision 0b6e4340cf84dd44b7912fe5f42eed6905720e25)
1b93f05b9Srobert // Specific definitions for BSD  -*- C++ -*-
2b93f05b9Srobert 
3b93f05b9Srobert // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
4b93f05b9Srobert //
5b93f05b9Srobert // This file is part of the GNU ISO C++ Library.  This library is free
6b93f05b9Srobert // software; you can redistribute it and/or modify it under the
7b93f05b9Srobert // terms of the GNU General Public License as published by the
8b93f05b9Srobert // Free Software Foundation; either version 2, or (at your option)
9b93f05b9Srobert // any later version.
10b93f05b9Srobert 
11b93f05b9Srobert // This library is distributed in the hope that it will be useful,
12b93f05b9Srobert // but WITHOUT ANY WARRANTY; without even the implied warranty of
13b93f05b9Srobert // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14b93f05b9Srobert // GNU General Public License for more details.
15b93f05b9Srobert 
16b93f05b9Srobert // You should have received a copy of the GNU General Public License along
17b93f05b9Srobert // with this library; see the file COPYING.  If not, write to the Free
18b93f05b9Srobert // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19b93f05b9Srobert // USA.
20b93f05b9Srobert 
21b93f05b9Srobert // As a special exception, you may use this file as part of a free software
22b93f05b9Srobert // library without restriction.  Specifically, if other files instantiate
23b93f05b9Srobert // templates or use macros or inline functions from this file, or you compile
24b93f05b9Srobert // this file and link it with other files to produce an executable, this
25b93f05b9Srobert // file does not by itself cause the resulting executable to be covered by
26b93f05b9Srobert // the GNU General Public License.  This exception does not however
27b93f05b9Srobert // invalidate any other reasons why the executable file might be covered by
28b93f05b9Srobert // the GNU General Public License.
29b93f05b9Srobert 
30b93f05b9Srobert 
31b93f05b9Srobert #ifndef _GLIBCXX_OS_DEFINES
32b93f05b9Srobert #define _GLIBCXX_OS_DEFINES 1
33b93f05b9Srobert 
34b93f05b9Srobert // System-specific #define, typedefs, corrections, etc, go here.  This
35b93f05b9Srobert // file will come before all others.
36b93f05b9Srobert 
37*12bb21d5Sespie #define _GLIBCXX_USE_C99 1
38b93f05b9Srobert #define _GLIBCXX_USE_C99_DYNAMIC (!(__ISO_C_VISIBLE >= 1999))
39b93f05b9Srobert #define _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC (_GLIBCXX_USE_C99_DYNAMIC || !defined __LONG_LONG_SUPPORTED)
40b93f05b9Srobert #define _GLIBCXX_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC defined _XOPEN_SOURCE
41*12bb21d5Sespie typedef __builtin_va_list __gnuc_va_list;
42b93f05b9Srobert 
43b93f05b9Srobert #endif
44