[git commit] dirent.h: s:__XOPEN_2K8:__USE_XOPEN2K8:

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:20 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=0ad6e6a2c807d95106d6bf0d248b238133955b82
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

glibc has it wrong as well

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 include/dirent.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/dirent.h b/include/dirent.h
index a9ff465..4ed4015 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2000, 2003-2005, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2000,2003-2005,2009,2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -224,7 +224,7 @@ extern void seekdir (DIR *__dirp, long int __pos) __THROW __nonnull ((1));
 extern long int telldir (DIR *__dirp) __THROW __nonnull ((1));
 #endif
 
-#if defined __USE_BSD || defined __USE_MISC || defined __XOPEN_2K8
+#if defined __USE_BSD || defined __USE_MISC || defined __USE_XOPEN2K8
 
 /* Return the file descriptor used by DIRP.  */
 extern int dirfd (DIR *__dirp) __THROW __nonnull ((1));


More information about the uClibc-cvs mailing list