Changed .h ifdef/defines to use <NAME>_H format. --HG-- branch : HEAD
Move POSIX capabilities dropping into separate function. --HG-- branch : HEAD