diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-02-10 02:31:31 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-02-10 02:31:31 +0000 |
commit | d08741eab55f44214d08f33177523ec4821de532 (patch) | |
tree | 192af3b22d30b8be1ec3256ebf4806e601234612 /src/include/regex/utils.h | |
parent | cf21985ab59e0075704b0322f7ba84033bf7e16e (diff) | |
download | postgresql-d08741eab55f44214d08f33177523ec4821de532.tar.gz postgresql-d08741eab55f44214d08f33177523ec4821de532.zip |
Restructure the key include files per recent pghackers discussion: there
are now separate files "postgres.h" and "postgres_fe.h", which are meant
to be the primary include files for backend .c files and frontend .c files
respectively. By default, only include files meant for frontend use are
installed into the installation include directory. There is a new make
target 'make install-all-headers' that adds the whole content of the
src/include tree to the installed fileset, for use by people who want to
develop server-side code without keeping the complete source tree on hand.
Cleaned up a whole lot of crufty and inconsistent header inclusions.
Diffstat (limited to 'src/include/regex/utils.h')
-rw-r--r-- | src/include/regex/utils.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/include/regex/utils.h b/src/include/regex/utils.h index 461e7ad6b0e..72f89dcafc2 100644 --- a/src/include/regex/utils.h +++ b/src/include/regex/utils.h @@ -37,9 +37,7 @@ * @(#)utils.h 8.3 (Berkeley) 3/20/94 */ -#include "postgres.h" - -#include "limits.h" +#include <limits.h> /* utility definitions */ #define DUPMAX 100000000 /* xxx is this right? */ @@ -50,6 +48,7 @@ #else #define NC (CHAR_MAX - CHAR_MIN + 1) #endif + typedef unsigned char uch; /* switch off assertions (if not already off) if no REDEBUG */ @@ -58,8 +57,3 @@ typedef unsigned char uch; #define NDEBUG /* no assertions please */ #endif #endif - -/* for old systems with bcopy() but no memmove() */ -#if !defined(HAVE_MEMMOVE) && !defined(memmove) -#define memmove(d, s, c) bcopy(s, d, c) -#endif |