summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_size.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-01-15 10:32:34 -0700
committerBrian Paul <[email protected]>2011-01-15 17:37:41 -0700
commit1250e2330b913d3e90bd0b28e46bf565a827b5bf (patch)
tree70c171d3b6ec68952a336849e1b69b11e25f2b41 /src/glx/indirect_size.c
parentcaee0d024fbbe493331081e14664cdaea151c8b2 (diff)
glapi: regenerated files
Diffstat (limited to 'src/glx/indirect_size.c')
-rw-r--r--src/glx/indirect_size.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/glx/indirect_size.c b/src/glx/indirect_size.c
index 137e69cb044..411a0e42c55 100644
--- a/src/glx/indirect_size.c
+++ b/src/glx/indirect_size.c
@@ -29,35 +29,35 @@
#include <GL/gl.h>
#include "indirect_size.h"
-#if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
-#define PURE __attribute__((pure))
-#else
-#define PURE
-#endif
+# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
+# define PURE __attribute__((pure))
+# else
+# define PURE
+# endif
-#if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)
-#define FASTCALL __attribute__((fastcall))
-#else
-#define FASTCALL
-#endif
+# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)
+# define FASTCALL __attribute__((fastcall))
+# else
+# define FASTCALL
+# endif
-#if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) && defined(__ELF__)
-#define INTERNAL __attribute__((visibility("internal")))
-#else
-#define INTERNAL
-#endif
+# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) && defined(__ELF__)
+# define INTERNAL __attribute__((visibility("internal")))
+# else
+# define INTERNAL
+# endif
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(GLX_USE_APPLEGL)
-#undef HAVE_ALIAS
+# undef HAVE_ALIAS
#endif
#ifdef HAVE_ALIAS
-#define ALIAS2(from,to) \
+# define ALIAS2(from,to) \
INTERNAL PURE FASTCALL GLint __gl ## from ## _size( GLenum e ) \
__attribute__ ((alias( # to )));
-#define ALIAS(from,to) ALIAS2( from, __gl ## to ## _size )
+# define ALIAS(from,to) ALIAS2( from, __gl ## to ## _size )
#else
-#define ALIAS(from,to) \
+# define ALIAS(from,to) \
INTERNAL PURE FASTCALL GLint __gl ## from ## _size( GLenum e ) \
{ return __gl ## to ## _size( e ); }
#endif
@@ -383,6 +383,6 @@ ALIAS(Fogiv, Fogfv)
ALIAS(ColorTableParameteriv, ColorTableParameterfv)
ALIAS(ConvolutionParameteriv, ConvolutionParameterfv)
ALIAS(PointParameterivNV, PointParameterfvEXT)
-#undef PURE
-#undef FASTCALL
-#undef INTERNAL
+# undef PURE
+# undef FASTCALL
+# undef INTERNAL