Files like libc/sysdeps/linux/powerpc/bits/fcntl.h have blobs like:
#ifdef __USE_GNU
# define O_DIRECT 0400000 /* Direct disk access. */
# define O_DIRECTORY 040000 /* Must be a directory. */
# define O_NOFOLLOW 0100000 /* Do not follow links. */
# define O_NOATIME 01000000 /* Do not set atime. */
# define O_CLOEXEC 02000000 /* Set close_on_exec. */
#endif
Meaning that if you don't #define GNU_DAMMIT you don't get symbols
Posix-2008 has been requiring for several years now:
file:///home/landley/reading/SUSv4/basedefs/fcntl.h.html
Which is why you don't need the #define to use O_NOFOLLOW in glibc.
This is hard to work around because the value of the symbol varies
per-target.
Rob
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc