]> git.pld-linux.org Git - packages/Mesa.git/blame - Mesa-glibc-2.2.patch
- spec adapterized.
[packages/Mesa.git] / Mesa-glibc-2.2.patch
CommitLineData
e1833810
JB
1--- Mesa/include/GL/glut.h.glibc22 Wed Oct 11 13:14:31 2000
2+++ Mesa/include/GL/glut.h Wed Oct 11 13:19:47 2000
3@@ -13,6 +13,7 @@
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7+#include <stdlib.h> /* for exit() */
8
9 #if defined(_WIN32)
10
11@@ -94,9 +95,6 @@
12 # endif
13 # define GLUT_DEFINED__CRTIMP
14 # endif
15-# ifndef GLUT_BUILDING_LIB
16-extern _CRTIMP void __cdecl exit(int);
17-# endif
18
19 /* GLUT callback calling convention for Win32. */
20 # define GLUTCALLBACK __cdecl
21@@ -198,8 +196,6 @@
22 # define GLUT_APIENTRY_DEFINED
23 # define GLUTCALLBACK
24 # define GLUTAPI extern
25-/* Prototype exit for the non-Win32 case (see above). */
26-/*extern void exit(int); this screws up gcc -ansi -pedantic! */
27 #endif
28
29
This page took 0.028759 seconds and 4 git commands to generate.