aboutsummaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 08ce6dd243f..9bdbcd81847 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/c.h,v 1.178.4.1 2005/07/18 15:53:46 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/c.h,v 1.178.4.2 2006/05/21 20:06:18 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -670,6 +670,8 @@ typedef NameData *Name;
/* msb for char */
#define CSIGNBIT (0x80)
+#define HIGHBIT (0x80)
+#define IS_HIGHBIT_SET(ch) ((unsigned char)(ch) & HIGHBIT)
#define STATUS_OK (0)
#define STATUS_ERROR (-1)