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
38d6dbc6
Commit
38d6dbc6
authored
Aug 26, 2021
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Remove MSVCP_SIZE_T_MAX definition.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ff5d176c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
details.c
dlls/msvcp90/details.c
+6
-6
msvcp90.h
dlls/msvcp90/msvcp90.h
+0
-1
No files found.
dlls/msvcp90/details.c
View file @
38d6dbc6
...
...
@@ -671,7 +671,7 @@ void * __thiscall _Concurrent_vector_base_v4__Internal_compact(
(
alloc_seg
+
1
)
*
sizeof
(
this
->
segment
[
0
]));
this
->
first_block
=
0
;
_Concurrent_vector_base_v4__Internal_reserve
(
this
,
size
,
element_size
,
MSVCP_SIZE_T_MAX
/
element_size
);
~
(
size_t
)
0
/
element_size
);
for
(
i
=
0
;
i
<
seg_no
;
i
++
)
copy
(
this
->
segment
[
i
],
b
->
blocks
[
i
],
i
?
1
<<
i
:
2
);
copy_element
=
size
-
((
1
<<
seg_no
)
&
~
1
);
...
...
@@ -703,7 +703,7 @@ void __thiscall _Concurrent_vector_base_v4__Internal_copy(
return
;
}
_Concurrent_vector_base_v4__Internal_reserve
(
this
,
v_size
,
element_size
,
MSVCP_SIZE_T_MAX
/
element_size
);
element_size
,
~
(
size_t
)
0
/
element_size
);
seg_no
=
_vector_base_v4__Segment_index_of
(
v_size
-
1
);
for
(
i
=
0
;
i
<
seg_no
;
i
++
)
copy
(
this
->
segment
[
i
],
v
->
segment
[
i
],
i
?
1
<<
i
:
2
);
...
...
@@ -764,7 +764,7 @@ void __thiscall _Concurrent_vector_base_v4__Internal_assign(
if
(
i
<
v_seg_no
)
{
_Concurrent_vector_base_v4__Internal_reserve
(
this
,
v_size
,
element_size
,
MSVCP_SIZE_T_MAX
/
element_size
);
element_size
,
~
(
size_t
)
0
/
element_size
);
for
(
i
++
;
i
<
v_seg_no
;
i
++
)
copy
(
this
->
segment
[
i
],
v
->
segment
[
i
],
1
<<
i
);
copy
(
this
->
segment
[
i
],
v
->
segment
[
i
],
v
->
early_size
-
(
1
<<
i
));
...
...
@@ -788,7 +788,7 @@ size_t __thiscall _Concurrent_vector_base_v4__Internal_grow_by(
do
{
size
=
this
->
early_size
;
_Concurrent_vector_base_v4__Internal_reserve
(
this
,
size
+
count
,
element_size
,
MSVCP_SIZE_T_MAX
/
element_size
);
~
(
size_t
)
0
/
element_size
);
}
while
(
InterlockedCompareExchangeSizeT
(
&
this
->
early_size
,
size
+
count
,
size
)
!=
size
);
seg_no
=
size
?
_vector_base_v4__Segment_index_of
(
size
-
1
)
:
0
;
...
...
@@ -818,7 +818,7 @@ size_t __thiscall _Concurrent_vector_base_v4__Internal_grow_to_at_least_with_res
TRACE
(
"(%p %Iu %Iu %p %p)
\n
"
,
this
,
count
,
element_size
,
copy
,
v
);
_Concurrent_vector_base_v4__Internal_reserve
(
this
,
count
,
element_size
,
MSVCP_SIZE_T_MAX
/
element_size
);
~
(
size_t
)
0
/
element_size
);
do
{
size
=
this
->
early_size
;
if
(
size
>=
count
)
return
size
;
...
...
@@ -853,7 +853,7 @@ void * __thiscall _Concurrent_vector_base_v4__Internal_push_back(
do
{
index
=
this
->
early_size
;
_Concurrent_vector_base_v4__Internal_reserve
(
this
,
index
+
1
,
element_size
,
MSVCP_SIZE_T_MAX
/
element_size
);
element_size
,
~
(
size_t
)
0
/
element_size
);
}
while
(
InterlockedCompareExchangeSizeT
(
&
this
->
early_size
,
index
+
1
,
index
)
!=
index
);
seg
=
_vector_base_v4__Segment_index_of
(
index
);
segment_base
=
(
seg
==
0
)
?
0
:
(
1
<<
seg
);
...
...
dlls/msvcp90/msvcp90.h
View file @
38d6dbc6
...
...
@@ -24,7 +24,6 @@
#define CXX_EXCEPTION 0xe06d7363
#define ALIGNED_SIZE(size, alignment) (((size)+((alignment)-1))/(alignment)*(alignment))
#define MSVCP_SIZE_T_MAX (~(size_t)0)
#if _MSVCP_VER >= 100
typedef
__int64
DECLSPEC_ALIGN
(
8
)
streamoff
;
typedef
__int64
DECLSPEC_ALIGN
(
8
)
streamsize
;
...
...
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