Use futimes() instead of utime() to implement SetFileTime, so that it
[wine] / include / wine / wined3d_gl.h
1 /*
2  * Direct3D wine OpenGL include file
3  *
4  * Copyright 2002-2003 The wine-d3d team
5  * Copyright 2002-2003 Jason Edmeades
6  *                     Raphael Junqueira
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21  */
22
23 #ifndef __WINE_WINED3D_GL_H
24 #define __WINE_WINED3D_GL_H
25
26 #ifndef __WINE_CONFIG_H
27 # error You must include config.h to use this header
28 #endif
29
30 #ifdef HAVE_OPENGL
31
32 #undef APIENTRY
33 #undef CALLBACK
34 #undef WINAPI
35
36 #define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */
37 #include <GL/gl.h>
38 #include <GL/glx.h>
39 #ifdef HAVE_GL_GLEXT_H
40 # include <GL/glext.h>
41 #endif
42 #undef  XMD_H
43
44 #undef APIENTRY
45 #undef CALLBACK
46 #undef WINAPI
47
48 /**
49  * file where we merge all d3d-opengl specific stuff
50  */
51 /* Redefines the constants */
52 #define CALLBACK    __stdcall
53 #define WINAPI      __stdcall
54 #define APIENTRY    WINAPI
55
56 #endif /* HAVE_OPENGL */
57
58 #endif /* __WINE_WINED3D_GL */