Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lois Gomez
wine
Commits
e3bae926
Commit
e3bae926
authored
4 months ago
by
Jacek Caban
Committed by
Alexandre Julliard
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
include: Use LONG_PTR format hack on Clang in MSVC mode.
The problem is not specific to mingw mode.
parent
2f46e4bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/basetsd.h
+2
-1
2 additions, 1 deletion
include/basetsd.h
with
2 additions
and
1 deletion
include/basetsd.h
+
2
−
1
View file @
e3bae926
...
...
@@ -132,7 +132,8 @@ typedef unsigned __int64 ULONG_PTR, *PULONG_PTR;
typedef
int
INT_PTR
,
*
PINT_PTR
;
typedef
unsigned
int
UINT_PTR
,
*
PUINT_PTR
;
#if defined(__WINESRC__) && defined(__clang__) && defined(__MINGW32__)
/* llvm-mingw warns about long type in %I formats */
/* clang warns about long type in %I formats */
#if defined(__WINESRC__) && defined(__clang__) && (defined(__MINGW32__) || defined(_MSC_VER))
typedef
int
LONG_PTR
,
*
PLONG_PTR
;
typedef
unsigned
int
ULONG_PTR
,
*
PULONG_PTR
;
#else
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment