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
1e1cf481
Commit
1e1cf481
authored
Oct 17, 1998
by
Patrik Stridvall
Committed by
Alexandre Julliard
Oct 17, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile fix for Solaris.
parent
4b774ca8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
9 deletions
+17
-9
dosexe.h
include/dosexe.h
+12
-2
module.h
include/module.h
+3
-4
dosvm.c
loader/dos/dosvm.c
+1
-1
dplay.c
multimedia/dplay.c
+0
-1
dialog.c
windows/dialog.c
+1
-1
No files found.
include/dosexe.h
View file @
1e1cf481
...
@@ -4,8 +4,12 @@
...
@@ -4,8 +4,12 @@
* Copyright 1998 Ove Kven
* Copyright 1998 Ove Kven
*/
*/
#ifdef linux
#ifndef __WINE_DOSEXE_H
#define __WINE_DOSEXE_H
#include <sys/types.h>
#include "windows.h"
#include "winnt.h"
#include "wintypes.h"
#include "wintypes.h"
typedef
struct
_DOSTASK
{
typedef
struct
_DOSTASK
{
...
@@ -22,10 +26,14 @@ typedef struct _DOSTASK {
...
@@ -22,10 +26,14 @@ typedef struct _DOSTASK {
pid_t
task
;
pid_t
task
;
}
DOSTASK
,
*
LPDOSTASK
;
}
DOSTASK
,
*
LPDOSTASK
;
#ifdef linux
#define MZ_SUPPORTED
#define MZ_SUPPORTED
struct
_NE_MODULE
;
extern
int
MZ_InitTask
(
LPDOSTASK
lpDosTask
);
extern
int
MZ_InitTask
(
LPDOSTASK
lpDosTask
);
extern
int
MZ_InitMemory
(
LPDOSTASK
lpDosTask
,
NE_MODULE
*
pModule
);
extern
int
MZ_InitMemory
(
LPDOSTASK
lpDosTask
,
struct
_
NE_MODULE
*
pModule
);
extern
void
MZ_KillModule
(
LPDOSTASK
lpDosTask
);
extern
void
MZ_KillModule
(
LPDOSTASK
lpDosTask
);
#endif
/* linux */
#endif
/* linux */
...
@@ -33,3 +41,5 @@ extern void MZ_KillModule( LPDOSTASK lpDosTask );
...
@@ -33,3 +41,5 @@ extern void MZ_KillModule( LPDOSTASK lpDosTask );
extern
HINSTANCE16
MZ_CreateProcess
(
LPCSTR
name
,
LPCSTR
cmdline
,
LPCSTR
env
,
extern
HINSTANCE16
MZ_CreateProcess
(
LPCSTR
name
,
LPCSTR
cmdline
,
LPCSTR
env
,
LPSTARTUPINFO32A
startup
,
LPPROCESS_INFORMATION
info
);
LPSTARTUPINFO32A
startup
,
LPPROCESS_INFORMATION
info
);
extern
int
DOSVM_Enter
(
PCONTEXT
context
);
extern
int
DOSVM_Enter
(
PCONTEXT
context
);
#endif
/* __WINE_DOSEXE_H */
include/module.h
View file @
1e1cf481
...
@@ -7,10 +7,9 @@
...
@@ -7,10 +7,9 @@
#ifndef __WINE_MODULE_H
#ifndef __WINE_MODULE_H
#define __WINE_MODULE_H
#define __WINE_MODULE_H
#include "
wintypes
.h"
#include "
dosexe
.h"
#include "pe_image.h"
#include "pe_image.h"
#include "wintypes.h"
struct
_DOSTASK
;
/* In-memory module structure. See 'Windows Internals' p. 219 */
/* In-memory module structure. See 'Windows Internals' p. 219 */
typedef
struct
_NE_MODULE
typedef
struct
_NE_MODULE
...
@@ -51,7 +50,7 @@ typedef struct _NE_MODULE
...
@@ -51,7 +50,7 @@ typedef struct _NE_MODULE
HMODULE32
module32
;
/* 40 PE module handle for Win32 modules */
HMODULE32
module32
;
/* 40 PE module handle for Win32 modules */
HMODULE16
self
;
/* 44 Handle for this module */
HMODULE16
self
;
/* 44 Handle for this module */
WORD
self_loading_sel
;
/* 46 Selector used for self-loading apps. */
WORD
self_loading_sel
;
/* 46 Selector used for self-loading apps. */
struct
_DOSTASK
*
lpDosTask
;
LPDOSTASK
lpDosTask
;
LPVOID
dos_image
;
/* pointer to DOS memory (for DOS apps) */
LPVOID
dos_image
;
/* pointer to DOS memory (for DOS apps) */
}
NE_MODULE
;
}
NE_MODULE
;
...
...
loader/dos/dosvm.c
View file @
1e1cf481
...
@@ -20,8 +20,8 @@
...
@@ -20,8 +20,8 @@
#include "winnt.h"
#include "winnt.h"
#include "msdos.h"
#include "msdos.h"
#include "miscemu.h"
#include "miscemu.h"
#include "debug.h"
#include "debugger.h"
#include "debugger.h"
#include "debug.h"
#include "module.h"
#include "module.h"
#include "task.h"
#include "task.h"
#include "ldt.h"
#include "ldt.h"
...
...
multimedia/dplay.c
View file @
1e1cf481
...
@@ -15,7 +15,6 @@
...
@@ -15,7 +15,6 @@
#include "dplay.h"
#include "dplay.h"
#include "thread.h"
#include "thread.h"
#include <sys/queue.h>
#define IsEqualGUID(rguid1, rguid2) (!memcmp(rguid1, rguid2, sizeof(GUID)))
#define IsEqualGUID(rguid1, rguid2) (!memcmp(rguid1, rguid2, sizeof(GUID)))
#define IsEqualIID(riid1, riid2) IsEqualGUID(riid1, riid2)
#define IsEqualIID(riid1, riid2) IsEqualGUID(riid1, riid2)
...
...
windows/dialog.c
View file @
1e1cf481
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
*/
*/
#include <ctype.h>
#include <ctype.h>
#include <
sys/
errno.h>
#include <errno.h>
#include <limits.h>
#include <limits.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.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