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 0/5] Implement clearenv


On 2018-06-04 14:36, Ken Brown wrote:
2. I guarded the declaration of clearenv() with __GNU_VISIBLE, but
    again I'm not sure about this.  On the one hand, clearenv() is a
    GNU extension, so __GNU_VISIBLE would seem to be the right guard.
    On the other hand, glibc declares clearenv() if _DEFAULT_SOURCE is
    defined, so maybe the guard should be relaxed if our goal is to
    emulate Linux.

Use __MISC_VISIBLE.

--
Yaakov


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