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
e9bc26ad
Commit
e9bc26ad
authored
Dec 08, 1998
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tried another kludge for the Xmd.h problem.
parent
399931a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
ddraw.c
graphics/ddraw.c
+4
-5
make_X11wrappers
tools/make_X11wrappers
+1
-1
ts_xf86vmode.c
tsx11/ts_xf86vmode.c
+2
-1
No files found.
graphics/ddraw.c
View file @
e9bc26ad
...
...
@@ -21,16 +21,15 @@
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include "windows.h"
#ifdef HAVE_LIBXXF86VM
/* X is retarted and insists on declaring INT32, INT16 etc in Xmd.h,
this is a crude hack to get around it */
/* Anywhere ts_xf86vmode.h is included you must define LONG64 also, see include/wintypes.h
*/
#define
LONG64
/* X is retarted and insists on declaring INT32, INT16 etc in Xmd.h,
this is a crude hack to get around it
*/
#define
XMD_H
#include "ts_xf86vmode.h"
#undef LONG64
#endif
#include "windows.h"
#include "winerror.h"
#include "interfaces.h"
#include "gdi.h"
...
...
tools/make_X11wrappers
View file @
e9bc26ad
...
...
@@ -63,7 +63,7 @@ foreach $name (@dolist) {
if
(
$name
eq
"xf86vmode"
)
{
$x11_incl
=
"#include <X11/Xlib.h>\n"
;
$extensions_dir
=
"extensions/"
;
$pre_file
=
"#include \"
config.h\"\n#ifdef HAVE_LIBXXF86VM
\n"
;
$pre_file
=
"#include \"
wintypes.h\"\n#ifdef HAVE_LIBXXF86VM\n#define XMD_H
\n"
;
$post_file
=
"#endif"
;
}
...
...
tsx11/ts_xf86vmode.c
View file @
e9bc26ad
...
...
@@ -3,8 +3,9 @@
* This file was generated automatically by tools/make_X11wrappers
* DO NOT EDIT!
*/
#include "
config
.h"
#include "
wintypes
.h"
#ifdef HAVE_LIBXXF86VM
#define XMD_H
#include <X11/Xlib.h>
#include <X11/extensions/xf86vmode.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