Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
48b5de83
Commit
48b5de83
authored
Feb 04, 1999
by
Patrik Stridvall
Committed by
Alexandre Julliard
Feb 04, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Non-X11 compile fix for generated code.
parent
e8c89484
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
154 additions
and
13 deletions
+154
-13
ts_xf86dga.h
include/ts_xf86dga.h
+10
-0
ts_xf86vmode.h
include/ts_xf86vmode.h
+12
-0
ts_xlib.h
include/ts_xlib.h
+8
-0
ts_xpm.h
include/ts_xpm.h
+10
-0
ts_xresource.h
include/ts_xresource.h
+8
-0
ts_xshm.h
include/ts_xshm.h
+10
-0
ts_xutil.h
include/ts_xutil.h
+8
-0
make_X11wrappers
tools/make_X11wrappers
+25
-4
ts_xf86dga.c
tsx11/ts_xf86dga.c
+9
-2
ts_xf86vmode.c
tsx11/ts_xf86vmode.c
+10
-2
ts_xlib.c
tsx11/ts_xlib.c
+8
-1
ts_xpm.c
tsx11/ts_xpm.c
+10
-1
ts_xresource.c
tsx11/ts_xresource.c
+8
-1
ts_xshm.c
tsx11/ts_xshm.c
+10
-1
ts_xutil.c
tsx11/ts_xutil.c
+8
-1
No files found.
include/ts_xf86dga.h
View file @
48b5de83
...
...
@@ -9,6 +9,12 @@
#ifndef __WINE_TSXF86DGA_H
#define __WINE_TSXF86DGA_H
#include "config.h"
#ifndef X_DISPLAY_MISSING
#ifdef HAVE_LIBXXF86DGA
#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
...
...
@@ -22,4 +28,8 @@ extern Status TSXF86DGAInstallColormap(Display*,int,Colormap);
extern
Status
TSXF86DGAQueryDirectVideo
(
Display
*
,
int
,
int
*
);
extern
Status
TSXF86DGAViewPortChanged
(
Display
*
,
int
,
int
);
#endif
/* defined(HAVE_LIBXXF86DGA) */
#endif
/* !defined(X_DISPLAY_MISSING) */
#endif
/* __WINE_TSXF86DGA_H */
include/ts_xf86vmode.h
View file @
48b5de83
...
...
@@ -9,6 +9,14 @@
#ifndef __WINE_TSXF86VMODE_H
#define __WINE_TSXF86VMODE_H
#include "config.h"
#ifndef X_DISPLAY_MISSING
#include "wintypes.h"
#ifdef HAVE_LIBXXF86VM
#define XMD_H
#include <X11/Xlib.h>
#include <X11/extensions/xf86vmode.h>
...
...
@@ -27,4 +35,8 @@ extern Bool TSXF86VidModeGetMonitor(Display*,int,XF86VidModeMonitor*);
extern
Bool
TSXF86VidModeGetViewPort
(
Display
*
,
int
,
int
*
,
int
*
);
extern
Bool
TSXF86VidModeSetViewPort
(
Display
*
,
int
,
int
,
int
);
#endif
/* defined(HAVE_LIBXXF86VM) */
#endif
/* !defined(X_DISPLAY_MISSING) */
#endif
/* __WINE_TSXF86VMODE_H */
include/ts_xlib.h
View file @
48b5de83
...
...
@@ -9,6 +9,11 @@
#ifndef __WINE_TSXLIB_H
#define __WINE_TSXLIB_H
#include "config.h"
#ifndef X_DISPLAY_MISSING
#include <X11/Xlib.h>
extern
XFontStruct
*
TSXLoadQueryFont
(
Display
*
,
const
char
*
);
...
...
@@ -129,4 +134,7 @@ extern XIM TSXOpenIM(Display*, struct _XrmHashBucketRec*, char*, char*);
extern
int
(
*
TSXSynchronize
(
Display
*
,
Bool
))(
Display
*
);
extern
void
TS_XInitImageFuncPtrs
(
XImage
*
);
#endif
/* !defined(X_DISPLAY_MISSING) */
#endif
/* __WINE_TSXLIB_H */
include/ts_xpm.h
View file @
48b5de83
...
...
@@ -9,9 +9,19 @@
#ifndef __WINE_TSXPM_H
#define __WINE_TSXPM_H
#include "config.h"
#ifndef X_DISPLAY_MISSING
#ifdef HAVE_LIBXXPM
#include <X11/xpm.h>
extern
int
TSXpmCreatePixmapFromData
(
Display
*
,
Drawable
,
char
**
,
Pixmap
*
,
Pixmap
*
,
XpmAttributes
*
);
extern
int
TSXpmAttributesSize
(
void
);
#endif
/* defined(HAVE_LIBXXPM) */
#endif
/* !defined(X_DISPLAY_MISSING) */
#endif
/* __WINE_TSXPM_H */
include/ts_xresource.h
View file @
48b5de83
...
...
@@ -9,6 +9,11 @@
#ifndef __WINE_TSXRESOURCE_H
#define __WINE_TSXRESOURCE_H
#include "config.h"
#ifndef X_DISPLAY_MISSING
#include <X11/Xlib.h>
#include <X11/Xresource.h>
...
...
@@ -19,4 +24,7 @@ extern XrmDatabase TSXrmGetStringDatabase(const char*);
extern
void
TSXrmMergeDatabases
(
XrmDatabase
,
XrmDatabase
*
);
extern
void
TSXrmParseCommand
(
XrmDatabase
*
,
XrmOptionDescList
,
int
,
const
char
*
,
int
*
,
char
**
);
#endif
/* !defined(X_DISPLAY_MISSING) */
#endif
/* __WINE_TSXRESOURCE_H */
include/ts_xshm.h
View file @
48b5de83
...
...
@@ -9,6 +9,12 @@
#ifndef __WINE_TSXSHM_H
#define __WINE_TSXSHM_H
#include "config.h"
#ifndef X_DISPLAY_MISSING
#ifdef HAVE_LIBXXSHM
#include <X11/Xlib.h>
#include <X11/extensions/XShm.h>
...
...
@@ -22,4 +28,8 @@ extern Status TSXShmGetImage(Display *, Drawable, XImage *, int, int, unsigned l
extern
XImage
*
TSXShmCreateImage
(
Display
*
,
Visual
*
,
unsigned
int
,
int
,
char
*
,
XShmSegmentInfo
*
,
unsigned
int
,
unsigned
int
);
extern
Pixmap
TSXShmCreatePixmap
(
Display
*
,
Drawable
,
char
*
,
XShmSegmentInfo
*
,
unsigned
int
,
unsigned
int
,
unsigned
int
);
#endif
/* defined(HAVE_LIBXXSHM) */
#endif
/* !defined(X_DISPLAY_MISSING) */
#endif
/* __WINE_TSXSHM_H */
include/ts_xutil.h
View file @
48b5de83
...
...
@@ -9,6 +9,11 @@
#ifndef __WINE_TSXUTIL_H
#define __WINE_TSXUTIL_H
#include "config.h"
#ifndef X_DISPLAY_MISSING
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>
...
...
@@ -47,4 +52,7 @@ extern struct _XImage * TSXSubImage(struct _XImage *, int, int, unsigned int, un
extern
int
TSXAddPixel
(
struct
_XImage
*
,
long
);
extern
XContext
TSXUniqueContext
(
void
);
#endif
/* !defined(X_DISPLAY_MISSING) */
#endif
/* __WINE_TSXUTIL_H */
tools/make_X11wrappers
View file @
48b5de83
...
...
@@ -54,17 +54,23 @@ foreach $name (@dolist) {
if
(
$name
eq
"xf86dga"
)
{
$x11_incl
=
"#include <X11/Xlib.h>\n"
;
$extensions_dir
=
"extensions/"
;
$pre_file
=
"#i
nclude \"config.h\"\n#i
fdef HAVE_LIBXXF86DGA\n"
;
$post_file
=
"#endif"
;
$pre_file
=
"#ifdef HAVE_LIBXXF86DGA\n"
;
$post_file
=
"#endif
/* defined(HAVE_LIBXXF86DGA) */\n
"
;
}
if
(
$name
eq
"XShm"
)
{
$extensions_dir
=
"extensions/"
;
$pre_file
=
"#ifdef HAVE_LIBXXSHM\n"
;
$post_file
=
"#endif /* defined(HAVE_LIBXXSHM) */\n"
;
}
if
(
$name
eq
"xpm"
)
{
$pre_file
=
"#ifdef HAVE_LIBXXPM\n"
;
$post_file
=
"#endif /* defined(HAVE_LIBXXPM) */\n"
;
}
if
(
$name
eq
"xf86vmode"
)
{
$x11_incl
=
"#include <X11/Xlib.h>\n"
;
$extensions_dir
=
"extensions/"
;
$pre_file
=
"#include \"wintypes.h\"\n#ifdef HAVE_LIBXXF86VM\n#define XMD_H\n"
;
$post_file
=
"#endif"
;
$post_file
=
"#endif
/* defined(HAVE_LIBXXF86VM) */\n
"
;
}
print
OUTH
<<END;
...
...
@@ -79,6 +85,11 @@ foreach $name (@dolist) {
#ifndef __WINE_TS$ucname\_H
#define __WINE_TS$ucname\_H
#include "config.h"
#ifndef X_DISPLAY_MISSING
$pre_file
$x11_incl#include <X11/$extensions_dir$name.h>
END
...
...
@@ -89,10 +100,15 @@ END
* This file was generated automatically by tools/make_X11wrappers
* DO NOT EDIT!
*/
#include "config.h"
#ifndef X_DISPLAY_MISSING
$pre_file
$x11_incl#include <X11/$extensions_dir$name.h>
#include "x11drv.h"
#include "debug.h"
#include "x11drv.h"
END
if
(
$name
eq
"xpm"
)
{
# Handle as special case.
...
...
@@ -323,10 +339,15 @@ END
print
OUTH
<<END;
$post_file
#endif /* !defined(X_DISPLAY_MISSING) */
#endif /* __WINE_TS$ucname\_H */
END
print
OUTC
<<END;
$post_file
#endif /* !defined(X_DISPLAY_MISSING) */
END
...
...
tsx11/ts_xf86dga.c
View file @
48b5de83
...
...
@@ -3,13 +3,17 @@
* This file was generated automatically by tools/make_X11wrappers
* DO NOT EDIT!
*/
#include "config.h"
#ifndef X_DISPLAY_MISSING
#ifdef HAVE_LIBXXF86DGA
#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
#include "x11drv.h"
#include "debug.h"
#include "x11drv.h"
Bool
TSXF86DGAQueryVersion
(
Display
*
a0
,
int
*
a1
,
int
*
a2
)
{
...
...
@@ -109,4 +113,7 @@ Status TSXF86DGAViewPortChanged(Display*a0,int a1,int a2)
TRACE
(
x11
,
"Ret XF86DGAViewPortChanged
\n
"
);
return
r
;
}
#endif
#endif
/* defined(HAVE_LIBXXF86DGA) */
#endif
/* !defined(X_DISPLAY_MISSING) */
tsx11/ts_xf86vmode.c
View file @
48b5de83
...
...
@@ -3,14 +3,19 @@
* This file was generated automatically by tools/make_X11wrappers
* DO NOT EDIT!
*/
#include "config.h"
#ifndef X_DISPLAY_MISSING
#include "wintypes.h"
#ifdef HAVE_LIBXXF86VM
#define XMD_H
#include <X11/Xlib.h>
#include <X11/extensions/xf86vmode.h>
#include "x11drv.h"
#include "debug.h"
#include "x11drv.h"
Bool
TSXF86VidModeQueryVersion
(
Display
*
a0
,
int
*
a1
,
int
*
a2
)
{
...
...
@@ -165,4 +170,7 @@ Bool TSXF86VidModeSetViewPort(Display*a0,int a1,int a2,int a3)
TRACE
(
x11
,
"Ret XF86VidModeSetViewPort
\n
"
);
return
r
;
}
#endif
#endif
/* defined(HAVE_LIBXXF86VM) */
#endif
/* !defined(X_DISPLAY_MISSING) */
tsx11/ts_xlib.c
View file @
48b5de83
...
...
@@ -4,9 +4,14 @@
* DO NOT EDIT!
*/
#include "config.h"
#ifndef X_DISPLAY_MISSING
#include <X11/Xlib.h>
#include "x11drv.h"
#include "debug.h"
#include "x11drv.h"
XFontStruct
*
TSXLoadQueryFont
(
Display
*
a0
,
const
char
*
a1
)
{
...
...
@@ -1293,3 +1298,5 @@ void TS_XInitImageFuncPtrs(XImage *a0)
TRACE
(
x11
,
"Ret _XInitImageFuncPtrs
\n
"
);
}
#endif
/* !defined(X_DISPLAY_MISSING) */
tsx11/ts_xpm.c
View file @
48b5de83
...
...
@@ -4,9 +4,15 @@
* DO NOT EDIT!
*/
#include "config.h"
#ifndef X_DISPLAY_MISSING
#ifdef HAVE_LIBXXPM
#include <X11/xpm.h>
#include "x11drv.h"
#include "debug.h"
#include "x11drv.h"
int
TSXpmCreatePixmapFromData
(
Display
*
a0
,
Drawable
a1
,
char
**
a2
,
Pixmap
*
a3
,
Pixmap
*
a4
,
XpmAttributes
*
a5
)
{
...
...
@@ -30,3 +36,6 @@ int TSXpmAttributesSize(void)
return
r
;
}
#endif
/* defined(HAVE_LIBXXPM) */
#endif
/* !defined(X_DISPLAY_MISSING) */
tsx11/ts_xresource.c
View file @
48b5de83
...
...
@@ -4,10 +4,15 @@
* DO NOT EDIT!
*/
#include "config.h"
#ifndef X_DISPLAY_MISSING
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include "x11drv.h"
#include "debug.h"
#include "x11drv.h"
XrmQuark
TSXrmUniqueQuark
(
void
)
{
...
...
@@ -71,3 +76,5 @@ void TSXrmParseCommand(XrmDatabase* a0, XrmOptionDescList a1, int a2, const ch
TRACE
(
x11
,
"Ret XrmParseCommand
\n
"
);
}
#endif
/* !defined(X_DISPLAY_MISSING) */
tsx11/ts_xshm.c
View file @
48b5de83
...
...
@@ -4,10 +4,16 @@
* DO NOT EDIT!
*/
#include "config.h"
#ifndef X_DISPLAY_MISSING
#ifdef HAVE_LIBXXSHM
#include <X11/Xlib.h>
#include <X11/extensions/XShm.h>
#include "x11drv.h"
#include "debug.h"
#include "x11drv.h"
Bool
TSXShmQueryExtension
(
Display
*
a0
)
{
...
...
@@ -108,3 +114,6 @@ Pixmap TSXShmCreatePixmap(Display *a0, Drawable a1, char *a2, XShmSegmentInfo *a
return
r
;
}
#endif
/* defined(HAVE_LIBXXSHM) */
#endif
/* !defined(X_DISPLAY_MISSING) */
tsx11/ts_xutil.c
View file @
48b5de83
...
...
@@ -4,11 +4,16 @@
* DO NOT EDIT!
*/
#include "config.h"
#ifndef X_DISPLAY_MISSING
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>
#include "x11drv.h"
#include "debug.h"
#include "x11drv.h"
XClassHint
*
TSXAllocClassHint
(
void
)
{
...
...
@@ -369,3 +374,5 @@ XContext TSXUniqueContext(void)
return
r
;
}
#endif
/* !defined(X_DISPLAY_MISSING) */
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