diff options
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2014-09-01 22:26:18 +0000 |
---|---|---|
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2014-09-01 22:26:18 +0000 |
commit | b69cd964e10e03cf8997f3828b08b3e9c466b78b (patch) | |
tree | 8cacf60e89bf49792876f0630f618b548b0132b5 /include/pub_tool_libcfile.h | |
parent | e46752164bb5b2a24ed25cd11527930d708a4f23 (diff) | |
download | valgrind-b69cd964e10e03cf8997f3828b08b3e9c466b78b.tar.gz |
VG_(getdents64) is only needed on Linux, and causes build problems
on Darwin, so make it exist only on Linux.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14421 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'include/pub_tool_libcfile.h')
-rw-r--r-- | include/pub_tool_libcfile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pub_tool_libcfile.h b/include/pub_tool_libcfile.h index e93e6655a..ea50289b2 100644 --- a/include/pub_tool_libcfile.h +++ b/include/pub_tool_libcfile.h @@ -92,7 +92,10 @@ extern Int VG_(unlink) ( const HChar* file_name ); extern SysRes VG_(poll) (struct vki_pollfd *fds, Int nfds, Int timeout); extern Int VG_(readlink)( const HChar* path, HChar* buf, UInt bufsize ); + +#if defined(VGO_linux) extern Int VG_(getdents64)( Int fd, struct vki_dirent64 *dirp, UInt count ); +#endif extern const HChar* VG_(basename)( const HChar* path ); extern const HChar* VG_(dirname) ( const HChar* path ); |