scratch that ntohs()
Mumit Khan
khan@xraylith.wisc.edu
Fri Jul 10 00:35:00 GMT 1998
On Thu, 9 Jul 1998, Peter Mularski wrote:
> Looked through the searchable archives and discovered the solution was to
> enclose the appropriate header in an 'extern "C"'. It's kind of a scary
> solution, but it seems to link okay. Thanks.
Scary? Don't worry -- this is the normal and the correct solution! All it
means that is that the function has "C" linkage (as opposed to say C++
linkage which will typically mangle the names to encode various bits of
info).
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list