missing prototypes in io.h

Jimen Ching jching@flex.com
Fri Mar 31 11:49:00 GMT 2000


On 2000年3月31日, Mumit Khan wrote:
> /* Get access() prototype. */
> #ifdef __MINGW32__
> # include <io.h>
> #elif HAVE_UNISTD_H
> # include <unistd.h>
> #else
> # /* do something to declare access() on systems that lack unistd.h.
> #endif

So you are suggesting I either; 1. compile the library with mingw32 or 2.
modify the library to include unistd.h and compile with non-mingw32?
In short, you are saying that I can not compile a Win32 library and/or
application using the non-mingw32 gcc. Is this correct? I was under the
assumption that the --no-cygwin32 was to disable linking in the UNIX
layer. It was not intended to allow compiling Win32 source code without
modification. The latter is what I am trying to do.
Let me know if this is the case, and I'll notify the library vendor.
--jc
--
Jimen Ching (WH6BRR) jching@flex.com wh6brr@uhm.ampr.org
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /