forked from aniani/vim
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)
This commit is contained in:
@@ -118,6 +118,9 @@ endif
|
|||||||
|
|
||||||
DEFINES = -DWIN32 -DHAVE_PATHDEF -DFEAT_$(FEATURES) \
|
DEFINES = -DWIN32 -DHAVE_PATHDEF -DFEAT_$(FEATURES) \
|
||||||
-DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER)
|
-DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER)
|
||||||
|
ifeq ($(ARCH),x86-64)
|
||||||
|
DEFINES+=-DMS_WIN64
|
||||||
|
endif
|
||||||
INCLUDES = -march=$(ARCH) -Iproto
|
INCLUDES = -march=$(ARCH) -Iproto
|
||||||
|
|
||||||
#>>>>> name of the compiler and linker, name of lib directory
|
#>>>>> name of the compiler and linker, name of lib directory
|
||||||
|
@@ -328,6 +328,9 @@ endif # RUBY
|
|||||||
DEF_GUI=-DFEAT_GUI_W32 -DFEAT_CLIPBOARD
|
DEF_GUI=-DFEAT_GUI_W32 -DFEAT_CLIPBOARD
|
||||||
DEFINES=-DWIN32 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) \
|
DEFINES=-DWIN32 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) \
|
||||||
-DHAVE_PATHDEF -DFEAT_$(FEATURES)
|
-DHAVE_PATHDEF -DFEAT_$(FEATURES)
|
||||||
|
ifeq ($(ARCH),x86-64)
|
||||||
|
DEFINES+=-DMS_WIN64
|
||||||
|
endif
|
||||||
ifeq ($(CROSS),yes)
|
ifeq ($(CROSS),yes)
|
||||||
# cross-compiler prefix:
|
# cross-compiler prefix:
|
||||||
CROSS_COMPILE = i586-pc-mingw32msvc-
|
CROSS_COMPILE = i586-pc-mingw32msvc-
|
||||||
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1313,
|
||||||
/**/
|
/**/
|
||||||
1312,
|
1312,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user