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
c43b5c8f
Commit
c43b5c8f
authored
May 16, 2002
by
Warren Baird
Committed by
Alexandre Julliard
May 16, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some fixes for compiling on Sparc.
parent
a0994a7d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
5 deletions
+21
-5
except.c
dlls/msvcrt/except.c
+1
-2
math.c
dlls/msvcrt/math.c
+19
-2
snoop.c
relay32/snoop.c
+1
-1
No files found.
dlls/msvcrt/except.c
View file @
c43b5c8f
...
...
@@ -65,12 +65,12 @@ typedef struct _MSVCRT_EXCEPTION_FRAME
#define TRYLEVEL_END 0xffffffff
/* End of trylevel list */
#if defined(__GNUC__) && defined(__i386__)
inline
static
void
call_finally_block
(
void
*
code_block
,
void
*
base_ptr
)
{
__asm__
__volatile__
(
"movl %1,%%ebp; call *%%eax"
\
:
:
"a"
(
code_block
),
"g"
(
base_ptr
));
}
#endif
static
DWORD
MSVCRT_nested_handler
(
PEXCEPTION_RECORD
rec
,
struct
__EXCEPTION_FRAME
*
frame
,
...
...
@@ -82,7 +82,6 @@ static DWORD MSVCRT_nested_handler(PEXCEPTION_RECORD rec,
*
dispatch
=
frame
;
return
ExceptionCollidedUnwind
;
}
#endif
/*********************************************************************
...
...
dlls/msvcrt/math.c
View file @
c43b5c8f
...
...
@@ -572,7 +572,12 @@ unsigned int _control87(unsigned int newval, unsigned int mask)
*/
unsigned
int
_controlfp
(
unsigned
int
newval
,
unsigned
int
mask
)
{
#ifdef __i386__
return
_control87
(
newval
,
mask
&
~
_EM_DENORMAL
);
#else
FIXME
(
":Not Implemented!
\n
"
);
return
0
;
#endif
}
/*********************************************************************
...
...
@@ -699,7 +704,13 @@ LONGLONG MSVCRT_div(int num, int denom)
*/
MSVCRT_div_t
MSVCRT_div
(
int
num
,
int
denom
)
{
return
div
(
num
,
denom
);
div_t
dt
=
div
(
num
,
denom
);
MSVCRT_div_t
ret
;
ret
.
quot
=
dt
.
quot
;
ret
.
rem
=
dt
.
rem
;
return
ret
;
}
#endif
/* ifdef __i386__ */
...
...
@@ -725,7 +736,13 @@ ULONGLONG MSVCRT_ldiv(long num, long denom)
*/
MSVCRT_ldiv_t
MSVCRT_ldiv
(
long
num
,
long
denom
)
{
return
ldiv
(
num
,
denom
);
ldiv_t
result
=
ldiv
(
num
,
denom
);
MSVCRT_ldiv_t
ret
;
ret
.
quot
=
result
.
quot
;
ret
.
rem
=
result
.
rem
;
return
ret
;
}
#endif
/* ifdef __i386__ */
...
...
relay32/snoop.c
View file @
c43b5c8f
...
...
@@ -410,7 +410,7 @@ __ASM_GLOBAL_FUNC( SNOOP_Return,
".long "
__ASM_NAME
(
"SNOOP_DoReturn"
)
",0"
);
#else
/* !__i386__ */
void
SNOOP_RegisterDLL
(
HMODULE
hmod
,
LPCSTR
name
,
DWORD
nrofordinals
)
{
void
SNOOP_RegisterDLL
(
HMODULE
hmod
,
LPCSTR
name
,
DWORD
nrofordinals
,
DWORD
dw
)
{
if
(
!
TRACE_ON
(
snoop
))
return
;
FIXME
(
"snooping works only on i386 for now.
\n
"
);
}
...
...
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