Update to latest src/config.in.
This commit is contained in:
parent
0492cf29a8
commit
bdfab656b8
2 changed files with 60 additions and 0 deletions
30
nt/config.nt
30
nt/config.nt
|
@ -69,6 +69,7 @@ and this notice must be preserved on all copies. */
|
|||
|
||||
/* If we're using any sort of window system, define some consequences. */
|
||||
#ifdef HAVE_X_WINDOWS
|
||||
#define HAVE_WINDOW_SYSTEM
|
||||
#define MULTI_KBOARD
|
||||
#define HAVE_FACES
|
||||
#define HAVE_MOUSE
|
||||
|
@ -118,11 +119,13 @@ and this notice must be preserved on all copies. */
|
|||
#undef TIME_WITH_SYS_TIME
|
||||
|
||||
#undef HAVE_LIBDNET
|
||||
#undef HAVE_LIBPTHREADS
|
||||
#undef HAVE_LIBRESOLV
|
||||
|
||||
#undef HAVE_ALLOCA_H
|
||||
|
||||
#undef HAVE_GETTIMEOFDAY
|
||||
#undef GETTIMEOFDAY_ONE_ARGUMENT
|
||||
#undef HAVE_GETHOSTNAME
|
||||
#undef HAVE_DUP2
|
||||
#undef HAVE_RENAME
|
||||
|
@ -291,6 +294,11 @@ typedef unsigned long EMACS_UINT;
|
|||
#define SIGTYPE RETSIGTYPE
|
||||
#endif
|
||||
|
||||
#ifdef emacs /* Don't do this for lib-src. */
|
||||
/* Tell regex.c to use a type compatible with Emacs. */
|
||||
#define RE_TRANSLATE_TYPE Lisp_Object *
|
||||
#endif
|
||||
|
||||
/* The rest of the code currently tests the CPP symbol BSTRING.
|
||||
Override any claims made by the system-description files.
|
||||
Note that on some SCO version it is possible to have bcopy and not bcmp. */
|
||||
|
@ -317,3 +325,25 @@ extern char *getenv ();
|
|||
#endif
|
||||
|
||||
#endif /* EMACS_CONFIG_H */
|
||||
|
||||
/* These default definitions are good for almost all machines.
|
||||
The exceptions override them in m/*.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
|
||||
|
|
|
@ -69,6 +69,7 @@ and this notice must be preserved on all copies. */
|
|||
|
||||
/* If we're using any sort of window system, define some consequences. */
|
||||
#ifdef HAVE_X_WINDOWS
|
||||
#define HAVE_WINDOW_SYSTEM
|
||||
#define MULTI_KBOARD
|
||||
#define HAVE_FACES
|
||||
#define HAVE_MOUSE
|
||||
|
@ -118,11 +119,13 @@ and this notice must be preserved on all copies. */
|
|||
#undef TIME_WITH_SYS_TIME
|
||||
|
||||
#undef HAVE_LIBDNET
|
||||
#undef HAVE_LIBPTHREADS
|
||||
#undef HAVE_LIBRESOLV
|
||||
|
||||
#undef HAVE_ALLOCA_H
|
||||
|
||||
#undef HAVE_GETTIMEOFDAY
|
||||
#undef GETTIMEOFDAY_ONE_ARGUMENT
|
||||
#undef HAVE_GETHOSTNAME
|
||||
#undef HAVE_DUP2
|
||||
#undef HAVE_RENAME
|
||||
|
@ -291,6 +294,11 @@ typedef unsigned long EMACS_UINT;
|
|||
#define SIGTYPE RETSIGTYPE
|
||||
#endif
|
||||
|
||||
#ifdef emacs /* Don't do this for lib-src. */
|
||||
/* Tell regex.c to use a type compatible with Emacs. */
|
||||
#define RE_TRANSLATE_TYPE Lisp_Object *
|
||||
#endif
|
||||
|
||||
/* The rest of the code currently tests the CPP symbol BSTRING.
|
||||
Override any claims made by the system-description files.
|
||||
Note that on some SCO version it is possible to have bcopy and not bcmp. */
|
||||
|
@ -317,3 +325,25 @@ extern char *getenv ();
|
|||
#endif
|
||||
|
||||
#endif /* EMACS_CONFIG_H */
|
||||
|
||||
/* These default definitions are good for almost all machines.
|
||||
The exceptions override them in m/*.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
|
||||
|
|
Loading…
Add table
Reference in a new issue