summaryrefslogtreecommitdiff
path: root/glpong3d.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-02-23 05:42:32 +0000
committerMatt Turner <mattst88@gmail.com>2008-02-23 05:42:32 +0000
commite510996901c57f36f226d0eec3c929fb8b69b8e0 (patch)
tree7fa347e74b00812c7fabf03476d4583c192ceea3 /glpong3d.h
parent78002dcadcad1317a22277684e7f5675f568038c (diff)
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
Diffstat (limited to 'glpong3d.h')
-rw-r--r--glpong3d.h2
1 files changed, 1 insertions, 1 deletions
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