Started implementing date/time common control.
[wine] / include / wine_gl.h
1 /* Wrapper for OpenGL includes...
2      Copyright 1998 - Lionel Ulmer
3
4    This wrapper is needed because Mesa uses also the CALLBACK / WINAPI
5    constants. */
6
7 #ifndef __WINE_WINE_GL_H
8 #define __WINE_WINE_GL_H
9
10 #include "config.h"
11
12 #if defined(HAVE_LIBMESAGL) && defined(HAVE_GL_GLX_H)
13
14 #define HAVE_MESAGL
15
16 #undef APIENTRY
17 #undef CALLBACK
18 #undef WINAPI
19
20 #include <GL/gl.h>
21 #include <GL/glx.h>
22
23 #undef APIENTRY
24 #undef CALLBACK
25 #undef WINAPI
26
27 /* Redefines the constants */
28 #define CALLBACK    __stdcall
29 #define WINAPI      __stdcall
30 #define APIENTRY    WINAPI
31
32 #else /* HAVE_LIBMESAGL */
33
34 #undef HAVE_MESAGL
35
36 #endif /* HAVE_LIBMESAGL */
37
38 #endif /* __WINE_WINE_GL_H */