X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/1c262cae409ec55a234c89b3b74a13a77c7f595a..34374650303af0e59ab406b516b91f13d7eb28d3:/nt/config.nt diff --git a/nt/config.nt b/nt/config.nt index ae3807538c..16122b5e10 100644 --- a/nt/config.nt +++ b/nt/config.nt @@ -1,6 +1,6 @@ /* GNU Emacs site configuration template file. -*- C -*- -Copyright (C) 1988, 1993-1994, 2001-2011 Free Software Foundation, Inc. +Copyright (C) 1988, 1993-1994, 2001-2012 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -138,7 +138,6 @@ along with GNU Emacs. If not, see . */ #undef HAVE_LIBPTHREADS #undef HAVE_LIBRESOLV #undef HAVE_LIBXMU -#undef HAVE_LIBNCURSES #undef HAVE_LIBINTL /* movemail Kerberos support */ @@ -180,14 +179,20 @@ along with GNU Emacs. If not, see . */ #undef GETTIMEOFDAY_ONE_ARGUMENT #endif #undef HAVE_GETHOSTNAME -#undef HAVE_GETDOMAINNAME #undef HAVE_DUP2 #undef HAVE_RENAME #undef HAVE_CLOSEDIR #undef TM_IN_SYS_TIME #undef HAVE_TM_ZONE -#undef HAVE_TZNAME + +/* Define to 1 if you don't have `tm_zone' but do have the external array + `tzname'. */ +#define HAVE_TZNAME 1 + +/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. + */ +#define HAVE_DECL_TZNAME 1 #undef const @@ -199,7 +204,6 @@ along with GNU Emacs. If not, see . */ #undef HAVE_XRMSETDATABASE #undef HAVE_XSCREENRESOURCESTRING #undef HAVE_XSCREENNUMBEROFSCREEN -#undef HAVE_XSETWMPROTOCOLS #undef HAVE_MKDIR #undef HAVE_RMDIR @@ -215,7 +219,6 @@ along with GNU Emacs. If not, see . */ #undef HAVE_FMOD #undef HAVE_RINT #undef HAVE_CBRT -#undef HAVE_FTIME #undef HAVE_RES_INIT /* For -lresolv on Suns. */ #undef HAVE_SETSID #undef HAVE_FPATHCONF @@ -228,6 +231,9 @@ along with GNU Emacs. If not, see . */ #undef HAVE_UTIMES #undef HAVE_SETRLIMIT #undef HAVE_SETPGID +/* If you think about defining HAVE_GETCWD, don't: the alternative + getwd is redefined on w32.c, and does not really return the current + directory, to get the desired results elsewhere in Emacs */ #undef HAVE_GETCWD #undef HAVE_SHUTDOWN #undef HAVE_STRFTIME @@ -236,8 +242,6 @@ along with GNU Emacs. If not, see . */ #define HAVE_SENDTO 1 #define HAVE_RECVFROM 1 -#define HAVE_GETSOCKOPT 1 -#define HAVE_SETSOCKOPT 1 #define HAVE_GETSOCKNAME 1 #define HAVE_GETPEERNAME 1 #define HAVE_SNPRINTF 1 @@ -296,6 +300,10 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if you have the `localtime_r' function. */ #undef HAVE_LOCALTIME_R +/* Define to 1 if you have the declaration of `strtoll', and to 0 if you + don't. */ +#define HAVE_DECL_STRTOLL 1 + /* Define to 1 if you have the declaration of `strtoull', and to 0 if you don't. */ #define HAVE_DECL_STRTOULL 1 @@ -317,13 +325,17 @@ along with GNU Emacs. If not, see . */ #define PACKAGE "emacs" /* Version number of package */ -#define VERSION "24.0.50" +#define VERSION "24.1.50" /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ +#ifdef __GNUC__ #ifndef __cplusplus #undef inline #endif +#else /* MSVC */ +#define inline __inline +#endif /* Define to the equivalent of the C99 'restrict' keyword, or to nothing if this is not supported. Do not define if restrict is @@ -334,11 +346,16 @@ along with GNU Emacs. If not, see . */ # define restrict #endif +/* `mode_t' is not defined for MSVC. Define. */ +#ifdef _MSC_VER +typedef unsigned short mode_t; +#endif + /* A va_copy replacement for MSVC. */ #ifdef _MSC_VER # ifdef _WIN64 -# ifndef va_copy -# error "va_copy is needed, but not defined!" +# ifndef va_copy /* Need to be checked (?) */ +# define va_copy(d,s) ((d) = (s)) # endif # else /* not _WIN64 */ # define va_copy(d,s) ((d) = (s)) @@ -404,17 +421,6 @@ along with GNU Emacs. If not, see . */ #undef config_opsysfile #include "s/ms-w32.h" -/* The configuration script defines machfile to be the name of the - m/MACHINE.h file that describes the machine you are using. The file is - chosen based on the configuration name you give. - - See the file ../etc/MACHINES for a list of machines and the - configuration names to use for them. - - See m/template.h for documentation on writing m/MACHINE.h files. */ -#undef config_machfile -#include "m/intel386.h" - /* Define `subprocesses' should be defined if you want to have code for asynchronous subprocesses (as used in M-x compile and M-x shell). @@ -448,29 +454,7 @@ extern char *getenv (); #endif /* EMACS_CONFIG_H */ -/* These default definitions are good for almost all machines. - The exceptions override them in m/MACHINE.h. */ - -#ifndef BITS_PER_CHAR -#define BITS_PER_CHAR 8 -#endif - -#ifndef BITS_PER_SHORT -#define BITS_PER_SHORT 16 -#endif - -/* Note that lisp.h uses this in a preprocessor conditional, so it - would not work to use sizeof. That being so, we do all of them - without sizeof, for uniformity's sake. */ -#ifndef BITS_PER_INT -#define BITS_PER_INT 32 -#endif - -#ifndef BITS_PER_LONG -#define BITS_PER_LONG 32 -#endif - -#if defined(__MINGW32__) || _MSC_VER >= 1400 +#if defined (__MINGW32__) || _MSC_VER >= 1400 /* Define to 1 if the system has the type `long long int'. */ # define HAVE_LONG_LONG_INT 1 @@ -488,7 +472,7 @@ extern char *getenv (); /* Use pre-C99-style 64-bit integers. */ # define EMACS_INT __int64 -# define BITS_PER_EMACS_INT 64 +# define EMACS_INT_MAX _I64_MAX # define pI "I64" # endif