Added patch and update to XS reqs
Kartik Thakore [Sun, 2 Aug 2009 14:31:25 +0000 (10:31 -0400)]
src/OpenGL.xs
src/SDL.xs

index bb84322..331967e 100644 (file)
@@ -2707,7 +2707,7 @@ gluTessVertex ( tessobj, coords, vd )
        CODE:
                gluTessVertex(tessobj,(GLdouble*)coords,vd);
        
-
+#endif
 
 GLUquadric *
 gluNewQuadric ()
@@ -2747,6 +2747,7 @@ gluCylinder ( quad, base, top, height, slices, stacks )
        GLint  stacks
        CODE:
                gluCylinder ( quad, base, top, height, slices, stacks );
+
 void
 gluDisk ( quad, inner, outer, slices, loops )
        GLUquadric *quad
@@ -2779,5 +2780,6 @@ gluSphere ( quad, radius, slices, stacks )
        CODE:
                gluSphere ( quad, radius, slices, stacks );
 
+
 #endif
 
index ce0c2f0..56e793b 100644 (file)
@@ -2467,7 +2467,7 @@ NetFreeIPaddress ( ip )
        CODE:
                safefree(ip);
 
-char*
+const char*
 NetResolveIP ( address )
        IPaddress *address
        CODE: