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
05f0b754
Commit
05f0b754
authored
Feb 22, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows.globalization: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
de205234
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/windows.globalization/Makefile.in
+0
-1
main.c
dlls/windows.globalization/main.c
+4
-4
No files found.
dlls/windows.globalization/Makefile.in
View file @
05f0b754
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
windows.globalization.dll
MODULE
=
windows.globalization.dll
IMPORTS
=
combase uuid
IMPORTS
=
combase uuid
...
...
dlls/windows.globalization/main.c
View file @
05f0b754
...
@@ -87,7 +87,7 @@ static ULONG STDMETHODCALLTYPE hstring_vector_AddRef(IVectorView_HSTRING *iface)
...
@@ -87,7 +87,7 @@ static ULONG STDMETHODCALLTYPE hstring_vector_AddRef(IVectorView_HSTRING *iface)
{
{
struct
hstring_vector
*
impl
=
impl_from_IVectorView_HSTRING
(
iface
);
struct
hstring_vector
*
impl
=
impl_from_IVectorView_HSTRING
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
impl
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -95,7 +95,7 @@ static ULONG STDMETHODCALLTYPE hstring_vector_Release(IVectorView_HSTRING *iface
...
@@ -95,7 +95,7 @@ static ULONG STDMETHODCALLTYPE hstring_vector_Release(IVectorView_HSTRING *iface
{
{
struct
hstring_vector
*
impl
=
impl_from_IVectorView_HSTRING
(
iface
);
struct
hstring_vector
*
impl
=
impl_from_IVectorView_HSTRING
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
impl
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
if
(
ref
==
0
)
if
(
ref
==
0
)
{
{
while
(
impl
->
count
--
)
WindowsDeleteString
(
impl
->
values
[
impl
->
count
]);
while
(
impl
->
count
--
)
WindowsDeleteString
(
impl
->
values
[
impl
->
count
]);
...
@@ -275,7 +275,7 @@ static ULONG STDMETHODCALLTYPE windows_globalization_AddRef(
...
@@ -275,7 +275,7 @@ static ULONG STDMETHODCALLTYPE windows_globalization_AddRef(
{
{
struct
windows_globalization
*
impl
=
impl_from_IActivationFactory
(
iface
);
struct
windows_globalization
*
impl
=
impl_from_IActivationFactory
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
impl
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -284,7 +284,7 @@ static ULONG STDMETHODCALLTYPE windows_globalization_Release(
...
@@ -284,7 +284,7 @@ static ULONG STDMETHODCALLTYPE windows_globalization_Release(
{
{
struct
windows_globalization
*
impl
=
impl_from_IActivationFactory
(
iface
);
struct
windows_globalization
*
impl
=
impl_from_IActivationFactory
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
impl
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
return
ref
;
}
}
...
...
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