diff options
author | Matt Turner <mattst88@gmail.com> | 2008-02-23 05:42:32 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2008-02-23 05:42:32 +0000 |
commit | e510996901c57f36f226d0eec3c929fb8b69b8e0 (patch) | |
tree | 7fa347e74b00812c7fabf03476d4583c192ceea3 /glpong3d.h | |
parent | 78002dcadcad1317a22277684e7f5675f568038c (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |