Skip to content

Commit

Permalink
Define _DIRENT_MATCHES_DIRENT64 in bsd4.4/bits/dirent.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland McGrath committed Aug 7, 2012
1 parent 6dad2c0 commit d34689d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2012-08-07 Roland McGrath <roland@hack.frob.com>

* sysdeps/unix/bsd/bsd4.4/bits/dirent.h
[__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.

2012-08-07 Joseph Myers <joseph@codesourcery.com>

* sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
Expand Down
7 changes: 6 additions & 1 deletion sysdeps/unix/bsd/bsd4.4/bits/dirent.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Directory entry structure `struct dirent'. 4.4BSD version.
Copyright (C) 1996,97,98,2001 Free Software Foundation, Inc.
Copyright (C) 1996-2012 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
Expand Down Expand Up @@ -52,3 +52,8 @@ struct dirent64
#define _DIRENT_HAVE_D_RECLEN 1
#define _DIRENT_HAVE_D_NAMLEN 1
#define _DIRENT_HAVE_D_TYPE 1

#ifdef __INO_T_MATCHES_INO64_T
/* Inform libc code that these two types are effectively identical. */
# define _DIRENT_MATCHES_DIRENT64 1
#endif

0 comments on commit d34689d

Please sign in to comment.