aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2000-03-08 18:37:20 +0000
committerDave Love2000-03-08 18:37:20 +0000
commit308a47937d35bf133668a032dcf922e59980b788 (patch)
tree226563c1ea402e3763eb07f0b98f32f71e873af4 /src
parentfeab4fba81af27338b443210f8931ae1ff9c976a (diff)
downloademacs-308a47937d35bf133668a032dcf922e59980b788.tar.gz
emacs-308a47937d35bf133668a032dcf922e59980b788.zip
Don't depend on __STDC__ for volatile.
Add POINTER_TYPE, PTR, PROTOTYPES.
Diffstat (limited to 'src')
-rw-r--r--src/config.in34
1 files changed, 27 insertions, 7 deletions
diff --git a/src/config.in b/src/config.in
index 177485fcdb3..c18aa4062d2 100644
--- a/src/config.in
+++ b/src/config.in
@@ -1,5 +1,5 @@
1/* GNU Emacs site configuration template file. -*- C -*- 1/* GNU Emacs site configuration template file. -*- C -*-
2 Copyright (C) 1988, 1993, 1994, 1999 Free Software Foundation, Inc. 2 Copyright (C) 1988, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -297,6 +297,9 @@ Boston, MA 02111-1307, USA. */
297#undef HAVE_TIMEVAL 297#undef HAVE_TIMEVAL
298 298
299/* If using GNU, then support inline function declarations. */ 299/* If using GNU, then support inline function declarations. */
300/* Don't try to switch on inline handling as detected by AC_C_INLINE
301 generally, because even if non-gcc compilers accept `inline', they
302 may reject `extern inline'. */
300#ifdef __GNUC__ 303#ifdef __GNUC__
301#define INLINE __inline__ 304#define INLINE __inline__
302#else 305#else
@@ -416,12 +419,10 @@ Boston, MA 02111-1307, USA. */
416#define BSTRING 419#define BSTRING
417#endif 420#endif
418 421
419/* Non-ANSI C compilers usually don't have volatile. */ 422/* Define to empty if the keyword `volatile' does not work. Warning:
420#ifndef HAVE_VOLATILE 423 valid code using `volatile' can become incorrect without. Disable
421#ifndef __STDC__ 424 with care. */
422#define volatile 425#undef volatile
423#endif
424#endif
425 426
426/* Some of the files of Emacs which are intended for use with other 427/* Some of the files of Emacs which are intended for use with other
427 programs assume that if you have a config.h file, you must declare 428 programs assume that if you have a config.h file, you must declare
@@ -461,6 +462,25 @@ extern char *getenv ();
461#endif 462#endif
462#endif 463#endif
463 464
465/* Define as `void' if your compiler accepts `void *'; otherwise
466 define as `char'. */
467#undef POINTER_TYPE
468#define PTR POINTER_TYPE * /* For strftime.c. */
469
470/* Define if the compiler supports function prototypes. It may do so
471 but not define __STDC__ (e.g. DEC C by default) or may define it as
472 zero. */
473#undef PROTOTYPES
474/* For mktime.c: */
475#ifndef __P
476# if defined PROTOTYPES
477# define __P(args) args
478# else
479# define __P(args) ()
480# endif /* GCC. */
481#endif /* __P */
482
483
464/* Don't include "string.h" or <stdlib.h> in non-C code. */ 484/* Don't include "string.h" or <stdlib.h> in non-C code. */
465#ifndef NOT_C_CODE 485#ifndef NOT_C_CODE
466#ifdef HAVE_STRING_H 486#ifdef HAVE_STRING_H