> -----Original Message----- > From: Christopher Faylor [mailto:[EMAIL PROTECTED]] > > I don't know. I think it would be far simpler to have something like: > > #ifdef __CYGWIN__ > # define READTEXT "rt" > #else > # define READTEXT "r" > #endif > > . > . > . > > FILE fp = fopen ("foo", READTEXT); >
Doesn't any libc worth it's wieght ignore the "t"? -Rolf -- 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/