Skip to content

Commit 2a71f52

Browse files
committed
updated for version 7.3.1313
Problem: :py and :py3 don't work when compiled with Cygwin or MingW with 64 bit. Solution: Add -DMS_WIN64 to the build command. (Ken Takata)
1 parent d6a2e8c commit 2a71f52

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

src/Make_cyg.mak

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ endif
118118

119119
DEFINES = -DWIN32 -DHAVE_PATHDEF -DFEAT_$(FEATURES) \
120120
-DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER)
121+
ifeq ($(ARCH),x86-64)
122+
DEFINES+=-DMS_WIN64
123+
endif
121124
INCLUDES = -march=$(ARCH) -Iproto
122125

123126
#>>>>> name of the compiler and linker, name of lib directory

src/Make_ming.mak

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,9 @@ endif # RUBY
328328
DEF_GUI=-DFEAT_GUI_W32 -DFEAT_CLIPBOARD
329329
DEFINES=-DWIN32 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) \
330330
-DHAVE_PATHDEF -DFEAT_$(FEATURES)
331+
ifeq ($(ARCH),x86-64)
332+
DEFINES+=-DMS_WIN64
333+
endif
331334
ifeq ($(CROSS),yes)
332335
# cross-compiler prefix:
333336
CROSS_COMPILE = i586-pc-mingw32msvc-

src/version.c

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

729729
static int included_patches[] =
730730
{ /* Add new patch number below this line */
731+
/**/
732+
1313,
731733
/**/
732734
1312,
733735
/**/

0 commit comments

Comments
 (0)