OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libstdc++-v3/] [config/] [os/] [mingw32/] [os_defines.h] - Blame information for rev 749

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 742 jeremybenn
// Specific definitions for generic platforms  -*- C++ -*-
2
 
3
// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
4
// 2009, 2010, 2011  Free Software Foundation, Inc.
5
//
6
// This file is part of the GNU ISO C++ Library.  This library is free
7
// software; you can redistribute it and/or modify it under the
8
// terms of the GNU General Public License as published by the
9
// Free Software Foundation; either version 3, or (at your option)
10
// any later version.
11
 
12
// This library is distributed in the hope that it will be useful,
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
// GNU General Public License for more details.
16
 
17
// Under Section 7 of GPL version 3, you are granted additional
18
// permissions described in the GCC Runtime Library Exception, version
19
// 3.1, as published by the Free Software Foundation.
20
 
21
// You should have received a copy of the GNU General Public License and
22
// a copy of the GCC Runtime Library Exception along with this program;
23
// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
24
// <http://www.gnu.org/licenses/>.
25
 
26
/** @file bits/os_defines.h
27
 *  This is an internal header file, included by other library headers.
28
 *  Do not attempt to use it directly. @headername{iosfwd}
29
 */
30
 
31
#ifndef _GLIBCXX_OS_DEFINES
32
#  define _GLIBCXX_OS_DEFINES
33
 
34
// System-specific #define, typedefs, corrections, etc, go here.  This
35
// file will come before all others.
36
 
37
//  Define as 0, if you want, to enable inlining of gthread functions.
38
//  By default, don't pollute libstdc++ with win32api names.
39
#if !defined (__GTHREAD_HIDE_WIN32API)
40
# define __GTHREAD_HIDE_WIN32API 1
41
#endif
42
 
43
// Don't let win32api windef.h define min and max as macros
44
// if included after c++config.h.
45
#undef NOMINMAX
46
#define NOMINMAX 1
47
 
48
#if defined (_GLIBCXX_DLL)
49
#define _GLIBCXX_PSEUDO_VISIBILITY_default __attribute__ ((__dllimport__))
50
#else
51
#define _GLIBCXX_PSEUDO_VISIBILITY_default
52
#endif
53
#define _GLIBCXX_PSEUDO_VISIBILITY_hidden
54
 
55
#define _GLIBCXX_PSEUDO_VISIBILITY(V) _GLIBCXX_PSEUDO_VISIBILITY_ ## V
56
 
57
// See libstdc++/20806.
58
#define _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM 1
59
 
60
// See  libstdc++/37522.
61
#define _GLIBCXX_HAVE_BROKEN_VSWPRINTF 1
62
 
63
// See libstdc++/43738
64
// On native windows targets there is no ioctl function. And the existing
65
// ioctlsocket function doesn't work for normal file-descriptors.
66
#define _GLIBCXX_NO_IOCTL 1
67
 
68
// See libstdc++/51135
69
// Class constructors/destructors have __thiscall calling-convention on
70
// IA 32-bit
71
#if defined (__i386__)
72
#define _GLIBCXX_CDTOR_CALLABI __thiscall
73
#endif
74
 
75
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.