os_defines.h revision 169691
1112918Sjeff// Specific definitions for BSD  -*- C++ -*-
2112918Sjeff
3112918Sjeff// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
4112918Sjeff//
5112918Sjeff// This file is part of the GNU ISO C++ Library.  This library is free
6112918Sjeff// software; you can redistribute it and/or modify it under the
7112918Sjeff// terms of the GNU General Public License as published by the
8112918Sjeff// Free Software Foundation; either version 2, or (at your option)
9112918Sjeff// any later version.
10112918Sjeff
11112918Sjeff// This library is distributed in the hope that it will be useful,
12112918Sjeff// but WITHOUT ANY WARRANTY; without even the implied warranty of
13112918Sjeff// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14112918Sjeff// GNU General Public License for more details.
15112918Sjeff
16112918Sjeff// You should have received a copy of the GNU General Public License along
17112918Sjeff// with this library; see the file COPYING.  If not, write to the Free
18112918Sjeff// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19112918Sjeff// USA.
20112918Sjeff
21112918Sjeff// As a special exception, you may use this file as part of a free software
22112918Sjeff// library without restriction.  Specifically, if other files instantiate
23112918Sjeff// templates or use macros or inline functions from this file, or you compile
24112918Sjeff// this file and link it with other files to produce an executable, this
25112918Sjeff// file does not by itself cause the resulting executable to be covered by
26112918Sjeff// the GNU General Public License.  This exception does not however
27112918Sjeff// invalidate any other reasons why the executable file might be covered by
28112918Sjeff// the GNU General Public License.
29112918Sjeff
30112918Sjeff
31112918Sjeff#ifndef _GLIBCXX_OS_DEFINES
32112918Sjeff#define _GLIBCXX_OS_DEFINES 1
33112918Sjeff
34112918Sjeff// System-specific #define, typedefs, corrections, etc, go here.  This
35112918Sjeff// file will come before all others.
36112918Sjeff
37112918Sjeff#define _GLIBCXX_USE_C99_CHECK 1
38112918Sjeff#define _GLIBCXX_USE_C99_DYNAMIC (!(__ISO_C_VISIBLE >= 1999))
39112918Sjeff#define _GLIBCXX_USE_C99_LONG_LONG_CHECK 1
40112918Sjeff#define _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC (_GLIBCXX_USE_C99_DYNAMIC || !defined __LONG_LONG_SUPPORTED)
41112918Sjeff#define _GLIBCXX_USE_C99_FLOAT_TRANSCENDENTALS_CHECK 1
42112918Sjeff#define _GLIBCXX_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC defined _XOPEN_SOURCE
43112918Sjeff
44112918Sjeff#endif
45112918Sjeff