emacs/src/s
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
..
aix4-2.h Assume freestanding C89 headers, string.h, stdlib.h. 2011-07-06 18:32:56 -07:00
bsd-common.h Import getloadavg module from gnulib. 2011-02-15 16:33:44 -08:00
cygwin.h Standardize on VIRT_ADDR_VARIES behavior; otherwise, valgrind 2011-11-10 00:14:27 -08:00
darwin.h * process.c (allocate_pty): Let PTY_ITERATION declare iteration vars. 2011-03-16 22:15:08 -07:00
freebsd.h Import getloadavg module from gnulib. 2011-02-15 16:33:44 -08:00
gnu-kfreebsd.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
gnu-linux.h Whitespace changes. 2011-09-09 03:06:52 +02:00
gnu.h * s/gnu.h (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS (Bug#9926). 2011-11-08 12:15:17 -08:00
hpux10-20.h Merge from trunk. 2011-11-13 20:35:22 -08:00
hpux11.h Two more hunks from the HP-UX patch at Bug#6811. 2011-01-23 17:00:22 -05:00
irix6-5.h Simplify Irix build, remove iris4d.h file. 2011-07-06 20:24:33 -07:00
ms-w32.h Fix MS-Windows build with MSVC compiler. 2011-11-27 20:52:53 +02:00
msdos.h Spelling fixes. 2011-11-14 12:23:26 -08:00
netbsd.h Import getloadavg module from gnulib. 2011-02-15 16:33:44 -08:00
openbsd.h Port to OpenBSD. 2011-07-19 10:33:06 -07:00
README
sol2-6.h * s/sol2-6.h, s/unixware.h (PTY_TTY_NAME_SPRINTF): Protoize decl. 2011-04-16 15:06:00 -07:00
sol2-10.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
template.h Remove (RET)SIGTYPE; it is identical to void on all supported systems. 2011-03-26 19:27:11 -07:00
unixware.h * s/sol2-6.h, s/unixware.h (PTY_TTY_NAME_SPRINTF): Protoize decl. 2011-04-16 15:06:00 -07:00
usg5-4-common.h * s/usg5-4-common.h (SETUP_SLAVE_PTY): Don't pass extra arg to 'fatal'. 2011-04-16 14:57:28 -07:00

This directory contains C header files containing
operating-system-specific definitions.  Each file describes a
particular operating system.  The emacs configuration script edits
../config.h to include the appropriate one of these files, and then
each emacs source file includes config.h.

template.h is a generic template for system descriptions; it describes
the parameters a system file can specify.