aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/postscript/common
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2009-09-13 17:42:33 -0400
committerRuss Cox <rsc@swtch.com>2009-09-13 17:42:33 -0400
commita21158473db3261329f14e565e3bcc257cc8ccc2 (patch)
treecb45e31fb44714d2ef71ac2c1b21eb5254120acb /src/cmd/postscript/common
parent37c9485968da09d0412b2c1297e9c325789476a3 (diff)
downloadplan9port-a21158473db3261329f14e565e3bcc257cc8ccc2.tar.gz
plan9port-a21158473db3261329f14e565e3bcc257cc8ccc2.tar.bz2
plan9port-a21158473db3261329f14e565e3bcc257cc8ccc2.zip
postscript: update for 32-bit Rune
http://codereview.appspot.com/117062
Diffstat (limited to 'src/cmd/postscript/common')
-rw-r--r--src/cmd/postscript/common/rune.h14
1 files changed, 1 insertions, 13 deletions
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 <utf.h>