diff options
Diffstat (limited to 'lib/mesa/src/glx/indirect_size.c')
-rw-r--r-- | lib/mesa/src/glx/indirect_size.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/mesa/src/glx/indirect_size.c b/lib/mesa/src/glx/indirect_size.c index 2644eef07..1aa423155 100644 --- a/lib/mesa/src/glx/indirect_size.c +++ b/lib/mesa/src/glx/indirect_size.c @@ -3,18 +3,18 @@ /* * (C) Copyright IBM Corporation 2004 * 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 without limitation * the rights to use, copy, modify, merge, publish, 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. IN NO EVENT SHALL @@ -43,7 +43,10 @@ #endif -#ifdef HAVE_FUNC_ATTRIBUTE_ALIAS +#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(GLX_USE_APPLEGL) +#undef HAVE_ALIAS +#endif +#ifdef HAVE_ALIAS #define ALIAS2(from,to) \ _X_INTERNAL PURE FASTCALL GLint __gl ## from ## _size( GLenum e ) \ __attribute__ ((alias( # to ))); |