Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How ANSI can we assume C?



Andrey Borzenkov wrote:
> #define ZWC(c) L ## c

A further thought is that we only need this feature when
ZLE_UNICODE_SUPPORT is defined.  For older compilers we don't need to
paste tokens:

#ifdef ZLE_UNICODE_SUPPORT
#define ZWC(c) L ## c
#else
#define ZWC(c)	c
#endif

I think that's unobjectionable.  It's very hard if not impossible to
imagine a system with multibyte and wide character support using a K&R
compiler.

I'll change this in the patch I'm doing.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author