1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/lib-src
Eli Zaretskii 8c9afb4694 Fix MS-Windows build with MSVC compiler.
Parts of the changes by Fabrice Popineau  <fabrice.popineau@supelec.fr>.

 lib-src/makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
 lib-src/emacsclient.c (main) <environ>: Remove declaration, already
 pulled in by unistd.h on Posix hosts and stdlib.h on MS-Windows.
 nt/inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
 (UINT64_MAX) [_WIN64]: Fix definition.
 (uintmax_t, intmax_t): Fix definitions.
 nt/inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]: Provide
 correct definitions.
 nt/config.nt (HAVE_DECL_STRTOLL): Define.
 (va_copy) [_WIN64]: Provide a better definition.
 src/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.
 src/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.
 (tzname): Redirect to _tzname for all values of _MSC_VER.

Fixes: debbugs:9960
2011-11-27 20:52:53 +02:00
..
.gitignore Don't ignore files that are no longer generated 2011-02-13 19:35:05 +01:00
ChangeLog Fix MS-Windows build with MSVC compiler. 2011-11-27 20:52:53 +02:00
COPYING Change to GPLv3. 2007-07-25 07:00:38 +00:00
ebrowse.c Whitespace changes. 2011-09-09 03:06:52 +02:00
emacsclient.c Fix MS-Windows build with MSVC compiler. 2011-11-27 20:52:53 +02:00
etags.c Spelling fixes. 2011-11-19 18:29:42 -08:00
grep-changelog Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
hexl.c Whitespace changes. 2011-09-09 03:06:52 +02:00
make-docfile.c * lib-src/make-docfile.c (scan_lisp_file): Treat defcustom like defvar. 2011-11-23 23:32:40 -08:00
Makefile.in * lib-src/Makefile.in (all): Make sure "all" is the first target. 2011-11-14 15:54:16 -07:00
makefile.w32-in Fix MS-Windows build with MSVC compiler. 2011-11-27 20:52:53 +02:00
movemail.c Whitespace changes. 2011-09-09 03:06:52 +02:00
ntlib.c w32: Fix some warnings reported by -Wall -Wextra. 2011-03-23 17:25:38 +01:00
ntlib.h Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de. 2011-01-29 14:36:11 +02:00
pop.c Whitespace changes. 2011-09-09 03:06:52 +02:00
pop.h Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
profile.c Declare file-scope functions and variables static if not exported. 2011-02-21 10:06:25 -08:00
rcs-checkin Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
rcs2log Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
README changed Emacs' to GNU Emacs' 2006-03-31 07:25:44 +00:00
test-distrib.c * test-distrib.c (buf): Make this local, to avoid shadowing. 2011-02-21 15:15:17 -08:00
testfile
update-game-score.c Spelling fixes. 2011-11-17 01:09:20 -08:00
vcdiff Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.