# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../dietlibc/atfile.patch # Copyright (C) 2011 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- dietlibc/include/fcntl.h.vanilla 2011-01-05 17:25:57.000000000 +0100 +++ dietlibc/include/fcntl.h 2011-01-05 17:28:58.000000000 +0100 @@ -649,7 +649,7 @@ int fallocate(int fd, int mode, loff_t offset, loff_t len) __THROW; #endif -#ifdef _ATFILE_SOURCE +#ifdef _GNU_SOURCE #define AT_FDCWD -100 /* Special value used to indicate openat should use the current working directory. */ #define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */ #define AT_REMOVEDIR 0x200 /* Remove directory instead of unlinking file. */