From a21158473db3261329f14e565e3bcc257cc8ccc2 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 13 Sep 2009 17:42:33 -0400 Subject: postscript: update for 32-bit Rune http://codereview.appspot.com/117062 --- src/cmd/postscript/common/rune.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/cmd/postscript') diff --git a/src/cmd/postscript/common/rune.h b/src/cmd/postscript/common/rune.h index 0e7d0cb6..96b9eade 100644 --- a/src/cmd/postscript/common/rune.h +++ b/src/cmd/postscript/common/rune.h @@ -4,16 +4,4 @@ * */ -#define RUNELIB 1 - -#ifdef RUNELIB -typedef unsigned short Rune; - -enum -{ - UTFmax = 3, /* maximum bytes per rune */ - Runesync = 0x80, /* cannot represent part of a utf sequence (<) */ - Runeself = 0x80, /* rune and utf sequences are the same (<) */ - Runeerror = 0xFFFD /* decoding error in utf */ -}; -#endif +#include -- cgit v1.2.3