This is the mail archive of the cygwin-patches 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: [PATCH] Cygwin: define byteswap.h inlines as macros


On 2016-03-15 06:46, Corinna Vinschen wrote:
On Mar 15 11:55, VÃclav Haisman wrote:
Would it not be better to leave the original functions as they were
and simply use these defines?

#define bswap_16 bswap_16
#define bswap_32 bswap_32
#define bswap_64 bswap_64

I believe this is valid C and C++. Untested.

Already tried that, it leads to compiling issues at least with the package that triggered this patch in the first place.

--
Yaakov


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