From e510996901c57f36f226d0eec3c929fb8b69b8e0 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 23 Feb 2008 05:42:32 +0000 Subject: Use inline-asm only with gcc. Add fallback for other compilers git-svn-id: svn://mattst88.com/svn/glpong3d/trunk@19 4dd1920e-271a-0410-bca0-81b404a81564 --- glpong3d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glpong3d.h') diff --git a/glpong3d.h b/glpong3d.h index b364f71..dafdee7 100644 --- a/glpong3d.h +++ b/glpong3d.h @@ -53,6 +53,6 @@ void GLPong_Move(); void GLPong_Collide(Ball_t * ball, const Paddle_t * paddle); GLuint SDL_GL_SurfaceToTexture(SDL_Surface * surface); -__inline__ unsigned int NextPow2(unsigned int value); +static __inline__ unsigned int NextPow2(unsigned int value); #endif -- cgit v1.2.3