This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: scratch that ntohs()
- To: Peter Mularski <pmularski at clariion dot com>
- Subject: Re: scratch that ntohs()
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Fri, 10 Jul 1998 00:21:52 -0500 (CDT)
- Cc: GNU-Win32 <gnu-win32 at cygnus dot com>
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".