summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2003-12-08 16:57:21 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2003-12-08 16:57:21 +0000
commit18343db1d86aa98dddf17f010dc94d5d98445e27 (patch)
tree7f1fcb73b5a02ba836e462365a84dffe27b1e274 /include/GL
parent3abad78e26e561ffb30ef63a559eb8f9682e4f44 (diff)
reverse Keith's 'XFree86Server' glue.
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/gl.h4
-rw-r--r--include/GL/glext.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 40d80d2eec..1f53ff4790 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -38,11 +38,7 @@
*/
#if !defined(__SCITECH_SNAP__)
-#ifndef XFree86Server
#include <stddef.h> /* to get ptrdiff_t, used below */
-#else
-#define ptrdiff_t int
-#endif
#if defined(__BEOS__)
#include <stdlib.h> /* to get some BeOS-isms */
diff --git a/include/GL/glext.h b/include/GL/glext.h
index 7f1f938c4c..777cc03936 100644
--- a/include/GL/glext.h
+++ b/include/GL/glext.h
@@ -3290,11 +3290,7 @@ typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
#define GL_ARB_vertex_buffer_object 1
/* GL types for handling large vertex buffer objects */
/* Only used by this extension for now; later needs to be moved earlier in glext.h */
-#ifndef XFree86Server
#include <stddef.h>
-#else
-#define ptrdiff_t int
-#endif
typedef ptrdiff_t GLintptrARB;
typedef ptrdiff_t GLsizeiptrARB;
#ifdef GL_GLEXT_PROTOTYPES