Open GoogleCodeExporter opened 9 years ago
unistd.h is present in my system
Original comment by Van...@gmail.com
on 16 Jan 2012 at 4:49
I encouter the same question when I building google-log 0.3.3 on AIX.
In src/logging.cc line 1828
if (strncmp(procfd_prefix, path, strlen(procfd_prefix))) flags |= O_NOFOLLOW;
According to the code, it just appends O_NOFOLLOW to flags.
So I just ignore this line when there is no O_NOFOLLOW defined like this:
#ifdef O_NOFOLLOW
if (strncmp(procfd_prefix, path, strlen(procfd_prefix))) flags |= O_NOFOLLOW;
#endif
Original comment by cement.x...@gmail.com
on 24 May 2013 at 2:29
Original issue reported on code.google.com by
Van...@gmail.com
on 16 Jan 2012 at 4:46