This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binary read on textmode mount


On Fri, Nov 05, 2004 at 01:00:03PM -0500, Shaffer, Kenneth wrote:
>I see the problem now...  O_BINARY is 0x8000 on mingw and 0x10000 in
>cygwin and I needed a header file from cygwin and use the -I option
>which brought in the wrong fcntl.h ....  Sigh.

You are really asking for trouble.  The fact that you needed to go out
of your way to include a cygwin header file in a windows program should
be a clue to a simple fact: you shouldn't use header files from cygwin
with windows programs.

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]