Commit 1dc4f30a authored by Jim Blandy's avatar Jim Blandy
Browse files

* #define USE_TEXT_PROPERTIES by default.

	* (HAVE_CONST): New macro.  If it's not #defined, #define
	const to be the empty string.

	* If we're not __STDC__, define volatile to be the
	empty string.
parent 9fefd2ba
......@@ -45,7 +45,7 @@ and this notice must be preserved on all copies. */
/* Define USE_TEXT_PROPERTIES to support visual and other properties
on text. */
/* Define USER_FULL_NAME to return a string
that is the user's full name.
......@@ -172,6 +172,23 @@ and this notice must be preserved on all copies. */
#define SIGTYPE void
/* If it doesn't seem that the compiler we're using supports the
`const' qualifier, then the `configure' script will remove this
line. Some of the files that Emacs shares with other applications
(regex.h, getdate.y, etcetera) assume that const is defined. The
rule seems to be that if a system has a config.h file, that file
should take care of #defining const away if necessary. */
#define HAVE_CONST
#ifndef HAVE_CONST
#define const
/* Non-ANSI C compilers don't have volatile. */
#ifndef __STDC__
#define volatile
/* Some of the files of Emacs which are intended for use with other
programs assume that if you have a config.h file, you must declare
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment