comments, and fixed ifdefs for posix