1,8 → 1,8 |
/************************************************************************** |
* |
* |
* Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas. |
* All Rights Reserved. |
* |
* |
* Permission is hereby granted, free of charge, to any person obtaining a |
* copy of this software and associated documentation files (the |
* "Software"), to deal in the Software without restriction, including |
10,11 → 10,11 |
* distribute, sub license, and/or sell copies of the Software, and to |
* permit persons to whom the Software is furnished to do so, subject to |
* the following conditions: |
* |
* |
* The above copyright notice and this permission notice (including the |
* next paragraph) shall be included in all copies or substantial portions |
* of the Software. |
* |
* |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. |
22,24 → 22,24 |
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
* |
* |
**************************************************************************/ |
|
/** |
* @file |
* Gallium configuration defines. |
* |
* This header file sets several defines based on the compiler, processor |
* architecture, and operating system being used. These defines should be used |
* throughout the code to facilitate porting to new platforms. It is likely that |
* this file is auto-generated by an autoconf-like tool at some point, as some |
* things cannot be determined by pre-defined environment alone. |
* |
* |
* This header file sets several defines based on the compiler, processor |
* architecture, and operating system being used. These defines should be used |
* throughout the code to facilitate porting to new platforms. It is likely that |
* this file is auto-generated by an autoconf-like tool at some point, as some |
* things cannot be determined by pre-defined environment alone. |
* |
* See also: |
* - http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html |
* - echo | gcc -dM -E - | sort |
* - http://msdn.microsoft.com/en-us/library/b0084kay.aspx |
* |
* |
* @author José Fonseca <jrfonseca@tungstengraphics.com> |
*/ |
|
61,8 → 61,8 |
* - 1400: Visual C++ 2005 |
* - 1310: Visual C++ .NET 2003 |
* - 1300: Visual C++ .NET 2002 |
* |
* __MSC__ seems to be an old macro -- it is not pre-defined on recent MSVC |
* |
* __MSC__ seems to be an old macro -- it is not pre-defined on recent MSVC |
* versions. |
*/ |
#if defined(_MSC_VER) || defined(__MSC__) |
162,7 → 162,7 |
|
/* |
* Auto-detect the operating system family. |
* |
* |
* See subsystem below for a more fine-grained distinction. |
*/ |
|
212,10 → 212,6 |
#define PIPE_OS_UNIX |
#endif |
|
#if defined(_WIN32) || defined(WIN32) |
#define PIPE_OS_WINDOWS |
#endif |
|
#if defined(__HAIKU__) |
#define PIPE_OS_HAIKU |
#define PIPE_OS_UNIX |
228,7 → 224,7 |
|
/* |
* Try to auto-detect the subsystem. |
* |
* |
* NOTE: There is no way to auto-detect most of these. |
*/ |
|