This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 v2 1/2] fcntl-linux.h: add new definitions for file-private lock cmd values


On Sat, 12 Apr 2014, Carlos O'Donell wrote:

> So please use `#if __USE_GNU'.

No.  Please keep what's done with any given macro consistent rather than 
confusing things by mixing styles for a single macro.  That means 
__USE_GNU is tested with #ifdef / #ifndef unless and until all definitions 
and users are changed to use 0/1 values instead of undefined/defined.

-- 
Joseph S. Myers
joseph@codesourcery.com


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