Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Someone-Else
Vim
Commits
167632fc
Commit
167632fc
authored
14 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
Fix definition of UINT_PTR for 64 bit systems.
parent
6a18eb6f
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
runtime/doc/todo.txt
+4
-0
4 additions, 0 deletions
runtime/doc/todo.txt
src/GvimExt/gvimext.h
+1
-1
1 addition, 1 deletion
src/GvimExt/gvimext.h
src/gui_w32.c
+3
-2
3 additions, 2 deletions
src/gui_w32.c
src/if_ole.cpp
+2
-1
2 additions, 1 deletion
src/if_ole.cpp
with
10 additions
and
4 deletions
runtime/doc/todo.txt
+
4
−
0
View file @
167632fc
...
@@ -36,6 +36,10 @@ to not run autocommands when leaving Vim? (James Vega, 2010 May 23)
...
@@ -36,6 +36,10 @@ to not run autocommands when leaving Vim? (James Vega, 2010 May 23)
Invalid memory access when deleting funcref variable. Patch by Lech Lorens,
Invalid memory access when deleting funcref variable. Patch by Lech Lorens,
2010 May 25.
2010 May 25.
Fixes for broken URLs:
Benjamin Haskell, 2010 May 25
Christian Brabandt, 2010 May 26, two messages
Cursor positioning wrong with 0x200e character. (John Becket, 2010 May 6)
Cursor positioning wrong with 0x200e character. (John Becket, 2010 May 6)
E315 when trying to change a file in FileChangedRO autocommand event.
E315 when trying to change a file in FileChangedRO autocommand event.
...
...
This diff is collapsed.
Click to expand it.
src/GvimExt/gvimext.h
+
1
−
1
View file @
167632fc
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
#include
<shlobj.h>
#include
<shlobj.h>
/* Accommodate old versions of VC that don't have a modern Platform SDK */
/* Accommodate old versions of VC that don't have a modern Platform SDK */
#if defined(_MSC_VER) && _MSC_VER < 1300
#if
(
defined(_MSC_VER) && _MSC_VER < 1300
) || !defined(MAXULONG_PTR)
# undef UINT_PTR
# undef UINT_PTR
# define UINT_PTR UINT
# define UINT_PTR UINT
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
src/gui_w32.c
+
3
−
2
View file @
167632fc
...
@@ -183,9 +183,10 @@
...
@@ -183,9 +183,10 @@
# define ID_BEVAL_TOOLTIP 200
# define ID_BEVAL_TOOLTIP 200
# define BEVAL_TEXT_LEN MAXPATHL
# define BEVAL_TEXT_LEN MAXPATHL
#if _MSC_VER < 1300 || !defined(
UINT
_PTR)
#if
(defined(_MSC_VER) &&
_MSC_VER < 1300
)
|| !defined(
MAXULONG
_PTR)
/* Work around old versions of basetsd.h which wrongly declares
/* Work around old versions of basetsd.h which wrongly declares
* UINT_PTR as unsigned long. */
* UINT_PTR as unsigned long. */
# undef UINT_PTR
# define UINT_PTR UINT
# define UINT_PTR UINT
#endif
#endif
...
@@ -4697,7 +4698,7 @@ gui_mch_enable_beval_area(beval)
...
@@ -4697,7 +4698,7 @@ gui_mch_enable_beval_area(beval)
if
(
beval
==
NULL
)
if
(
beval
==
NULL
)
return
;
return
;
// TRACE0("gui_mch_enable_beval_area {{{");
// TRACE0("gui_mch_enable_beval_area {{{");
BevalTimerId
=
SetTimer
(
s_textArea
,
0
,
p_bdlay
/
2
,
BevalTimerProc
);
BevalTimerId
=
SetTimer
(
s_textArea
,
0
,
(
UINT
)(
p_bdlay
/
2
)
,
BevalTimerProc
);
// TRACE0("gui_mch_enable_beval_area }}}");
// TRACE0("gui_mch_enable_beval_area }}}");
}
}
...
...
This diff is collapsed.
Click to expand it.
src/if_ole.cpp
+
2
−
1
View file @
167632fc
...
@@ -34,9 +34,10 @@ extern HWND s_hwnd;
...
@@ -34,9 +34,10 @@ extern HWND s_hwnd;
extern
HWND
vim_parent_hwnd
;
extern
HWND
vim_parent_hwnd
;
}
}
#if
_MSC_VER < 1300
#if
(defined(_MSC_VER) && _MSC_VER < 1300) || !defined(MAXULONG_PTR)
/* Work around old versions of basetsd.h which wrongly declares
/* Work around old versions of basetsd.h which wrongly declares
* UINT_PTR as unsigned long */
* UINT_PTR as unsigned long */
# undef UINT_PTR
# define UINT_PTR UINT
# define UINT_PTR UINT
#endif
#endif
...
...
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