Fix MS-Windows build with MSVC compiler.
[bpt/emacs.git] / src / ChangeLog
index 5b1d5aa..a2d84d9 100644 (file)
@@ -1,3 +1,19 @@
+2011-11-27  Eli Zaretskii  <eliz@gnu.org>
+
+       * s/ms-w32.h (utimbuf) [_MSC_VER]: Don't define.
+       (snprintf) [_MSC_VER]: Redirect to _snprintf.
+       (strtoll) [_MSC_VER]: Redirect to _strtoi64.
+       (malloc, free, realloc, calloc): Redirect to e_* only when
+       compiling Emacs.
+
+       * lisp.h (GCTYPEBITS): Move before first use.
+       (ALIGN_GCTYPEBITS) [_MSC_VER]: Define.
+       (DECL_ALIGN) [_MSC_VER]: Use it, as MSVC doesn't like bit ops in
+       this macro definition.
+
+       * s/ms-w32.h (tzname): Redirect to _tzname for all values of
+       _MSC_VER.
+
 2011-11-27  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (xg_create_frame_widgets): Call