Dear Dave, Thank to this quick answer, I finally able to resolve this problem by including ntdef.h. But with your solution I can compile it in native cygwin without -mno-cygwin.
Regards, On Fri, Oct 24, 2008 at 01:03:14PM +0100, Dave Korn wrote: > bjoe wrote on 24 October 2008 11:24: > > > #include <tchar.h> > ^^^^^^^^^^^^^^^^^ > Remove this. It isn't supported on cygwin, although it is when doing a > mingw cross-compile ('-mno-cygwin'). > > > > #include <security.h> > ^^^^^^^^^^^^^^^^^^^^^ > Missing header dependency; needs "#include <ntsecapi.h>" before this line. > > > cheers, > DaveK > -- > Can't think of a witty .sigline today.... > -- It is easy to say no when there is a deeper yes burning within -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/