X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_teapot.c;h=722bca61220ef828c822023a445195b890843070;hb=3c7c46e5846a39dde8be85c131e69cab1d8cb1ec;hp=b3c0b828735607124361880e50f9d8d6941a01db;hpb=d296a46a2dccdd99048541e1f8ca0ef010ac8545;p=freeglut diff --git a/src/freeglut_teapot.c b/src/freeglut_teapot.c index b3c0b82..722bca6 100644 --- a/src/freeglut_teapot.c +++ b/src/freeglut_teapot.c @@ -72,13 +72,8 @@ * OpenGL(TM) is a trademark of Silicon Graphics, Inc. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include #include "freeglut_internal.h" - #include "freeglut_teapot_data.h" /* -- PRIVATE FUNCTIONS ---------------------------------------------------- */ @@ -86,7 +81,7 @@ static void fghTeapot( GLint grid, GLdouble scale, GLenum type ) { -#if TARGET_HOST_WINCE +#if defined(_WIN32_WCE) int i, numV=sizeof(strip_vertices)/4, numI=sizeof(strip_normals)/4; #else double p[4][4][3], q[4][4][3], r[4][4][3], s[4][4][3]; @@ -104,7 +99,7 @@ static void fghTeapot( GLint grid, GLdouble scale, GLenum type ) glScaled( 0.5 * scale, 0.5 * scale, 0.5 * scale ); glTranslated( 0.0, 0.0, -1.5 ); -#if TARGET_HOST_WINCE +#if defined(_WIN32_WCE) glRotated( 90.0, 1.0, 0.0, 0.0 ); glBegin( GL_TRIANGLE_STRIP ); @@ -168,7 +163,7 @@ static void fghTeapot( GLint grid, GLdouble scale, GLenum type ) glEvalMesh2(type, 0, grid, 0, grid); } } -#endif /* TARGET_HOST_WINCE */ +#endif /* defined(_WIN32_WCE) */ glPopMatrix(); glPopAttrib();