This is the mail archive of the cygwin@sourceware.cygnus.com 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]

RE: Using h_errno, errno etc Cygwin DLL globals [Re: Making wget]



>Care to submit a patch?

Actually, I'm not sure which style is the correct fix.

I think I would favor "__declspec(dllimport) h_errno"
(nowhere else in Cygwin does exported data use #define
with an __imp_ prefix, although mingw does).  But, I've seen some
code (in perl) which does a "#if !defined(h_errno)", so maybe
there are good portability reasons for a #define.  I'll defer
to someone who knows.

Also, something recently changed in the development snapshots
with respect to h_errno.  Because, I just noticed this problem
when I updated my snapshot this week.

Eric 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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