Hi, On Win64, :py and :py3 don't work when compiled by GCC (Cygwin/MinGW). :py shows an error, and :py3 causes a crash. I think it was already reported by someone but I forget the thread. A workaround which was adding -DMS_WIN64 was also reported, but there was no patch. I made a patch for that.
Thanks, Ken Takata -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
diff --git a/src/Make_cyg.mak b/src/Make_cyg.mak --- a/src/Make_cyg.mak +++ b/src/Make_cyg.mak @@ -118,6 +118,9 @@ DEFINES = -DWIN32 -DHAVE_PATHDEF -DFEAT_$(FEATURES) \ -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) +ifeq ($(ARCH),x86-64) +DEFINES+=-DMS_WIN64 +endif INCLUDES = -march=$(ARCH) -Iproto #>>>>> name of the compiler and linker, name of lib directory diff --git a/src/Make_ming.mak b/src/Make_ming.mak --- a/src/Make_ming.mak +++ b/src/Make_ming.mak @@ -328,6 +328,9 @@ DEF_GUI=-DFEAT_GUI_W32 -DFEAT_CLIPBOARD DEFINES=-DWIN32 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) \ -DHAVE_PATHDEF -DFEAT_$(FEATURES) +ifeq ($(ARCH),x86-64) +DEFINES+=-DMS_WIN64 +endif ifeq ($(CROSS),yes) # cross-compiler prefix: CROSS_COMPILE = i586-pc-mingw32msvc-
