11767c5feSopenharmony_ci/*
21767c5feSopenharmony_ci * The authors of this software are Rob Pike and Ken Thompson.
31767c5feSopenharmony_ci *              Copyright (c) 1998-2002 by Lucent Technologies.
41767c5feSopenharmony_ci * Permission to use, copy, modify, and distribute this software for any
51767c5feSopenharmony_ci * purpose without fee is hereby granted, provided that this entire notice
61767c5feSopenharmony_ci * is included in all copies of any software which is or includes a copy
71767c5feSopenharmony_ci * or modification of this software and in all copies of the supporting
81767c5feSopenharmony_ci * documentation for such software.
91767c5feSopenharmony_ci * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
101767c5feSopenharmony_ci * WARRANTY.  IN PARTICULAR, NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE ANY
111767c5feSopenharmony_ci * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
121767c5feSopenharmony_ci * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
131767c5feSopenharmony_ci */
141767c5feSopenharmony_ci
151767c5feSopenharmony_ci#define uchar _utfuchar
161767c5feSopenharmony_ci#define ushort _utfushort
171767c5feSopenharmony_ci#define uint _utfuint
181767c5feSopenharmony_ci#define ulong _utfulong
191767c5feSopenharmony_ci#define vlong _utfvlong
201767c5feSopenharmony_ci#define uvlong _utfuvlong
211767c5feSopenharmony_ci
221767c5feSopenharmony_citypedef unsigned char		uchar;
231767c5feSopenharmony_citypedef unsigned short		ushort;
241767c5feSopenharmony_citypedef unsigned int		uint;
251767c5feSopenharmony_citypedef unsigned long		ulong;
261767c5feSopenharmony_ci
271767c5feSopenharmony_ci#define nelem(x) (sizeof(x)/sizeof((x)[0]))
28