Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
036dcf2a
Commit
036dcf2a
authored
Apr 14, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include Xmd.h in x11drv.h with the proper defines to make it work, and
remove related hacks in various C files.
parent
b6d331d6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
22 deletions
+18
-22
opengl.c
dlls/x11drv/opengl.c
+0
-2
x11drv.h
dlls/x11drv/x11drv.h
+17
-0
x11drv_main.c
dlls/x11drv/x11drv_main.c
+0
-16
xvidmode.c
dlls/x11drv/xvidmode.c
+1
-4
No files found.
dlls/x11drv/opengl.c
View file @
036dcf2a
...
...
@@ -36,7 +36,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(opengl);
#undef CALLBACK
#undef WINAPI
#define XMD_H
/* This is to prevent the Xmd.h inclusion bug :-/ */
#ifdef HAVE_GL_GL_H
# include <GL/gl.h>
#endif
...
...
@@ -46,7 +45,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(opengl);
#ifdef HAVE_GL_GLEXT_H
# include <GL/glext.h>
#endif
#undef XMD_H
#undef APIENTRY
#undef CALLBACK
...
...
dlls/x11drv/x11drv.h
View file @
036dcf2a
...
...
@@ -38,6 +38,23 @@
#include <X11/extensions/xf86dga.h>
#endif
#define BOOL X_BOOL
#define BYTE X_BYTE
#define INT8 X_INT8
#define INT16 X_INT16
#define INT32 X_INT32
#define INT64 X_INT64
#define LONG64 X_LONG64
#include <X11/Xmd.h>
#include <X11/Xproto.h>
#undef BOOL
#undef BYTE
#undef INT8
#undef INT16
#undef INT32
#undef INT64
#undef LONG64
#undef Status
/* avoid conflict with wintrnl.h */
typedef
int
Status
;
...
...
dlls/x11drv/x11drv_main.c
View file @
036dcf2a
...
...
@@ -38,22 +38,6 @@
#include <X11/XKBlib.h>
#endif
#define BOOL X_BOOL
#define BYTE X_BYTE
#define INT8 X_INT8
#define INT16 X_INT16
#define INT32 X_INT32
#define INT64 X_INT64
#define LONG64 X_LONG64
#include <X11/Xproto.h>
#undef BOOL
#undef BYTE
#undef INT8
#undef INT16
#undef INT32
#undef INT64
#undef LONG64
#include "windef.h"
#include "winbase.h"
#include "wine/winbase16.h"
...
...
dlls/x11drv/xvidmode.c
View file @
036dcf2a
...
...
@@ -23,15 +23,12 @@
#include <stdio.h>
#include <math.h>
#include
<X11/Xlib.h>
#include
"x11drv.h"
#ifdef HAVE_LIBXXF86VM
#define XMD_H
#include "basetsd.h"
#include <X11/extensions/xf86vmode.h>
#endif
/* HAVE_LIBXXF86VM */
#include "x11drv.h"
#include "x11ddraw.h"
#include "xvidmode.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment