Skip to content

Commit 019001d

Browse files
committed
updated for version 7.3.322
Problem: #ifdef for PDP_RETVAL doesn't work, INT_PTR can be a typedef. Solution: Check the MSC version and 64 bit flags. (Sergiu Dotenco)
1 parent 1038492 commit 019001d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/os_mswin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,7 @@ swap_me(COLORREF colorref)
17811781
}
17821782

17831783
/* Attempt to make this work for old and new compilers */
1784-
#if !defined(_MSC_VER) || (_MSC_VER < 1300) || !defined(INT_PTR)
1784+
#if !defined(_WIN64) && (!defined(_MSC_VER) || _MSC_VER < 1300)
17851785
# define PDP_RETVAL BOOL
17861786
#else
17871787
# define PDP_RETVAL INT_PTR

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,8 @@ static char *(features[]) =
709709

710710
static int included_patches[] =
711711
{ /* Add new patch number below this line */
712+
/**/
713+
322,
712714
/**/
713715
321,
714716
/**/

0 commit comments

Comments
 (0)