198944Sobrien// Specific definitions for generic platforms -*- C++ -*- 298944Sobrien 398944Sobrien// Copyright (C) 2000, 2001, 2002, 2003, 2005 Free Software Foundation, Inc. 498944Sobrien// 598944Sobrien// This file is part of the GNU ISO C++ Library. This library is free 698944Sobrien// software; you can redistribute it and/or modify it under the 798944Sobrien// terms of the GNU General Public License as published by the 898944Sobrien// Free Software Foundation; either version 2, or (at your option) 998944Sobrien// any later version. 1098944Sobrien 1198944Sobrien// This library is distributed in the hope that it will be useful, 1298944Sobrien// but WITHOUT ANY WARRANTY; without even the implied warranty of 1398944Sobrien// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1498944Sobrien// GNU General Public License for more details. 1598944Sobrien 1698944Sobrien// You should have received a copy of the GNU General Public License along 1798944Sobrien// with this library; see the file COPYING. If not, write to the Free 1898944Sobrien// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 1998944Sobrien// USA. 2098944Sobrien 2198944Sobrien// As a special exception, you may use this file as part of a free software 2298944Sobrien// library without restriction. Specifically, if other files instantiate 2398944Sobrien// templates or use macros or inline functions from this file, or you compile 2498944Sobrien// this file and link it with other files to produce an executable, this 2598944Sobrien// file does not by itself cause the resulting executable to be covered by 2698944Sobrien// the GNU General Public License. This exception does not however 2798944Sobrien// invalidate any other reasons why the executable file might be covered by 2898944Sobrien// the GNU General Public License. 2998944Sobrien 3098944Sobrien/** @file os_defines.h 3198944Sobrien * This is an internal header file, included by other library headers. 3298944Sobrien * You should not attempt to use it directly. 3398944Sobrien */ 3498944Sobrien 3598944Sobrien#ifndef _GLIBCXX_OS_DEFINES 3698944Sobrien# define _GLIBCXX_OS_DEFINES 3798944Sobrien 3898944Sobrien// System-specific #define, typedefs, corrections, etc, go here. This 3998944Sobrien// file will come before all others. 4098944Sobrien 4198944Sobrien// Define as 0, if you want, to enable inlining of gthread functions. 4298944Sobrien// By default, don't pollute libstdc++ with win32api names. 4398944Sobrien#if !defined (__GTHREAD_HIDE_WIN32API) 4498944Sobrien# define __GTHREAD_HIDE_WIN32API 1 4598944Sobrien#endif 4698944Sobrien 4798944Sobrien// Don't let win32api windef.h define min and max as macros 4898944Sobrien// if included after stl_algobase.h. 4998944Sobrien#undef NOMINMAX 5098944Sobrien#define NOMINMAX 1 5198944Sobrien 5298944Sobrien// See libstdc++/20806. 5398944Sobrien#define _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM 1 5498944Sobrien 5598944Sobrien#endif 5698944Sobrien