On Tue, Jan 22, 2002 at 07:30:44AM -0800, Andriy Palamarchuk wrote: >Type _TCHAR is not defined in cygwin tchar.h header, >only TCHAR type. According to Microsoft documentation >type _TCHAR should be used for creating Unicode/ANSII >portable applications. > >MBCS Survival Guide at >http://www.microsoft.com/globaldev/fareast/mbcssg.asp > says: >"For ANSI conformance, the "official" type is _TCHAR. >In practice, either TCHAR or _TCHAR is acceptable." > > >See also "Using Generic-Text Mappings" at: >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_crt_using_generic.2d.text_mappings.asp
Cygwin doesn't actually have a 'tchar.h'. There is one in /usr/include/mingw, though, so you should check with that project about this: http://www.mingw.org . cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/