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
8c9bdcc9
Commit
8c9bdcc9
authored
Aug 07, 2002
by
Gregg Mattinson
Committed by
Alexandre Julliard
Aug 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for Sparc build.
parent
520852c7
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
29 additions
and
13 deletions
+29
-13
dib.c
dlls/ddraw/dsurface/dib.c
+6
-1
math.c
dlls/msvcrt/math.c
+1
-1
compobj.c
dlls/ole32/compobj.c
+1
-1
classes.c
dlls/shell32/classes.c
+1
-2
shlfolder.c
dlls/shell32/shlfolder.c
+7
-7
utils.h
tools/widl/utils.h
+4
-0
widltypes.h
tools/widl/widltypes.h
+1
-1
utils.h
tools/wmc/utils.h
+4
-0
utils.h
tools/wrc/utils.h
+4
-0
No files found.
dlls/ddraw/dsurface/dib.c
View file @
8c9bdcc9
...
...
@@ -413,8 +413,13 @@ DIB_DirectDrawSurface_Blt(LPDIRECTDRAWSURFACE7 iface, LPRECT rdst,
/* The easy case : the source-less blits.... */
if
(
src
==
NULL
)
{
RECT
full_rect
=
{
0
,
0
,
ddesc
.
dwHeight
,
ddesc
.
dwWidth
}
;
RECT
full_rect
;
RECT
temp_rect
;
/* No idea if intersect rect can be the same as one of the source rect */
full_rect
.
left
=
0
;
full_rect
.
top
=
0
;
full_rect
.
right
=
ddesc
.
dwWidth
;
full_rect
.
bottom
=
ddesc
.
dwHeight
;
IntersectRect
(
&
temp_rect
,
&
full_rect
,
&
xdst
);
xdst
=
temp_rect
;
}
else
{
...
...
dlls/msvcrt/math.c
View file @
8c9bdcc9
...
...
@@ -292,7 +292,7 @@ double _CItanh(void)
/* The above cannot be called on non x86 platforms, stub them for linking */
#define IX86_ONLY(func) double
MSVCRT_##
func(void) { return 0.0; }
#define IX86_ONLY(func) double func(void) { return 0.0; }
IX86_ONLY
(
_CIacos
)
IX86_ONLY
(
_CIasin
)
...
...
dlls/ole32/compobj.c
View file @
8c9bdcc9
...
...
@@ -73,7 +73,7 @@ static void COM_ExternalLockFreeList();
*/
typedef
struct
{
unsigned
char
threadingModell
;
// we use the COINIT flags
unsigned
char
threadingModell
;
/* we use the COINIT flags */
unsigned
long
threadID
;
long
AppartmentLockCount
;
}
OleAppartmentData
;
...
...
dlls/shell32/classes.c
View file @
8c9bdcc9
...
...
@@ -65,8 +65,7 @@ BOOL HCR_MapTypeToValue ( LPCSTR szExtension, LPSTR szFileType, DWORD len, BOOL
RegCloseKey
(
hkey
);
TRACE
(
"--UE;
} %s
\n
"
,
szFileType
);
TRACE
(
"--UE;
\n
} %s
\n
"
,
szFileType
);
return
TRUE
;
}
...
...
dlls/shell32/shlfolder.c
View file @
8c9bdcc9
...
...
@@ -381,7 +381,7 @@ HRESULT SHELL32_CompareIDs (IShellFolder * iface, LPARAM lParam, LPCITEMIDLIST p
nextpidl2
;
IShellFolder
*
psf
;
/
/ test for empty pidls
/
* test for empty pidls */
BOOL
isEmpty1
=
_ILIsDesktop
(
pidl1
);
BOOL
isEmpty2
=
_ILIsDesktop
(
pidl2
);
...
...
@@ -392,26 +392,26 @@ HRESULT SHELL32_CompareIDs (IShellFolder * iface, LPARAM lParam, LPCITEMIDLIST p
if
(
isEmpty2
)
return
1
;
/
/
test for different types. Sort order is the PT_* constant */
/
*
test for different types. Sort order is the PT_* constant */
type1
=
_ILGetDataPointer
(
pidl1
)
->
type
;
type2
=
_ILGetDataPointer
(
pidl2
)
->
type
;
if
(
type1
!=
type2
)
return
(
type1
-
type2
);
/
/ test for name of pidl
/
* test for name of pidl */
_ILSimpleGetText
(
pidl1
,
szTemp1
,
MAX_PATH
);
_ILSimpleGetText
(
pidl2
,
szTemp2
,
MAX_PATH
);
nReturn
=
strcasecmp
(
szTemp1
,
szTemp2
);
if
(
nReturn
!=
0
)
return
nReturn
;
/
/ test of complex pidls
/
* test of complex pidls */
firstpidl
=
ILCloneFirst
(
pidl1
);
nextpidl1
=
ILGetNext
(
pidl1
);
nextpidl2
=
ILGetNext
(
pidl2
);
/
/ optimizing: test special cases and bind not deeper
/
/ the deeper shellfolder would do the same
/
* optimizing: test special cases and bind not deeper */
/
* the deeper shellfolder would do the same */
isEmpty1
=
_ILIsDesktop
(
nextpidl1
);
isEmpty2
=
_ILIsDesktop
(
nextpidl2
);
...
...
@@ -421,7 +421,7 @@ HRESULT SHELL32_CompareIDs (IShellFolder * iface, LPARAM lParam, LPCITEMIDLIST p
nReturn
=
-
1
;
}
else
if
(
isEmpty2
)
{
nReturn
=
1
;
/
/ optimizing end
/
* optimizing end */
}
else
if
(
SUCCEEDED
(
IShellFolder_BindToObject
(
iface
,
firstpidl
,
NULL
,
&
IID_IShellFolder
,
(
LPVOID
*
)
&
psf
)))
{
nReturn
=
IShellFolder_CompareIDs
(
psf
,
lParam
,
nextpidl1
,
nextpidl2
);
IShellFolder_Release
(
psf
);
...
...
tools/widl/utils.h
View file @
8c9bdcc9
...
...
@@ -29,6 +29,10 @@ void *xmalloc(size_t);
void
*
xrealloc
(
void
*
,
size_t
);
char
*
xstrdup
(
const
char
*
str
);
#ifndef __GNUC__
#define __attribute__(X)
#endif
int
yyerror
(
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
int
yywarning
(
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
void
internal_error
(
const
char
*
file
,
int
line
,
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
3
,
4
)));
...
...
tools/widl/widltypes.h
View file @
8c9bdcc9
...
...
@@ -36,7 +36,7 @@ typedef struct _func_t func_t;
type *l_prev;
#define LINK(x,y) do { x->l_next = y; if (y) y->l_prev = x; } while (0)
#define LINK_LAST(x,y) do { if (y) {
typeof(x)
_c = x; while (_c->l_next) _c = _c->l_next; LINK(_c, y); } } while (0)
#define LINK_LAST(x,y) do { if (y) {
attr_t *
_c = x; while (_c->l_next) _c = _c->l_next; LINK(_c, y); } } while (0)
#define LINK_SAFE(x,y) do { if (x) LINK_LAST(x,y); else { x = y; } } while (0)
#define INIT_LINK(x) do { x->l_next = NULL; x->l_prev = NULL; } while (0)
...
...
tools/wmc/utils.h
View file @
8c9bdcc9
...
...
@@ -31,6 +31,10 @@ void *xmalloc(size_t);
void
*
xrealloc
(
void
*
,
size_t
);
char
*
xstrdup
(
const
char
*
str
);
#ifndef __GNUC__
#define __attribute__(X)
#endif
int
yyerror
(
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
int
xyyerror
(
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
int
yywarning
(
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
...
...
tools/wrc/utils.h
View file @
8c9bdcc9
...
...
@@ -31,6 +31,10 @@ void *xmalloc(size_t);
void
*
xrealloc
(
void
*
,
size_t
);
char
*
xstrdup
(
const
char
*
str
);
#ifndef __GNUC__
#define __attribute__(X)
#endif
int
yyerror
(
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
int
yywarning
(
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
void
internal_error
(
const
char
*
file
,
int
line
,
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
3
,
4
)));
...
...
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