Ken Takata avatar Ken Takata committed 2c01d7a

add a new patch: use_32bit_time_t.patch

Comments (0)

Files changed (2)

 improve_dos_test.diff
 fix-mouse-hidden-in-tabline-and-toolbar.patch
 use-vimLoadLib.patch
+use_32bit_time_t.patch

use_32bit_time_t.patch

+# HG changeset patch
+# Parent 215c8b1b53860e567c2b3c1e960efac1e6b583c8
+diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak
+--- a/src/Make_mvc.mak
++++ b/src/Make_mvc.mak
+@@ -846,6 +846,14 @@
+ 
+ CFLAGS = $(CFLAGS) -DFEAT_PERL
+ 
++# Currently 32-bit version of ActivePerl is built with VC6.
++# (http://community.activestate.com/faq/windows-compilers-perl-modules)
++# It means that time_t should be 32-bit. However the default size of
++# time_t is 64-bit since VC8. So we have to define _USE_32BIT_TIME_T.
++!if "$(CPU)" == "i386"
++CFLAGS = $(CFLAGS) -D_USE_32BIT_TIME_T
++!endif
++
+ # Do we want to load Perl dynamically?
+ !if "$(DYNAMIC_PERL)" == "yes"
+ CFLAGS = $(CFLAGS) -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"$(PERL_DLL)\"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.