1117397Skan// Specific definitions for generic platforms -*- C++ -*- 2117397Skan 3169691Skan// Copyright (C) 2000, 2001, 2002, 2003, 2005 Free Software Foundation, Inc. 4117397Skan// 5117397Skan// This file is part of the GNU ISO C++ Library. This library is free 6117397Skan// software; you can redistribute it and/or modify it under the 7117397Skan// terms of the GNU General Public License as published by the 8117397Skan// Free Software Foundation; either version 2, or (at your option) 9117397Skan// any later version. 10117397Skan 11117397Skan// This library is distributed in the hope that it will be useful, 12117397Skan// but WITHOUT ANY WARRANTY; without even the implied warranty of 13117397Skan// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14117397Skan// GNU General Public License for more details. 15117397Skan 16117397Skan// You should have received a copy of the GNU General Public License along 17117397Skan// with this library; see the file COPYING. If not, write to the Free 18169691Skan// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19117397Skan// USA. 20117397Skan 21117397Skan// As a special exception, you may use this file as part of a free software 22117397Skan// library without restriction. Specifically, if other files instantiate 23117397Skan// templates or use macros or inline functions from this file, or you compile 24117397Skan// this file and link it with other files to produce an executable, this 25117397Skan// file does not by itself cause the resulting executable to be covered by 26117397Skan// the GNU General Public License. This exception does not however 27117397Skan// invalidate any other reasons why the executable file might be covered by 28117397Skan// the GNU General Public License. 29117397Skan 30169691Skan/** @file os_defines.h 31169691Skan * This is an internal header file, included by other library headers. 32169691Skan * You should not attempt to use it directly. 33169691Skan */ 34117397Skan 35132720Skan#ifndef _GLIBCXX_OS_DEFINES 36132720Skan# define _GLIBCXX_OS_DEFINES 37117397Skan 38117397Skan// System-specific #define, typedefs, corrections, etc, go here. This 39117397Skan// file will come before all others. 40117397Skan 41132720Skan// Define as 0, if you want, to enable inlining of gthread functions. 42132720Skan// By default, don't pollute libstdc++ with win32api names. 43132720Skan#if !defined (__GTHREAD_HIDE_WIN32API) 44132720Skan# define __GTHREAD_HIDE_WIN32API 1 45117397Skan#endif 46132720Skan 47132720Skan// Don't let win32api windef.h define min and max as macros 48132720Skan// if included after stl_algobase.h. 49132720Skan#undef NOMINMAX 50132720Skan#define NOMINMAX 1 51132720Skan 52169691Skan// See libstdc++/20806. 53169691Skan#define _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM 1 54169691Skan 55132720Skan#endif 56