diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2004-12-03 19:36:53 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2004-12-03 19:36:53 +0000 |
commit | 697afb65fcf45bf27572b10e788fd8661efe5113 (patch) | |
tree | 33794cf77ed2eb9b137d264ddc0f78695af40458 /sim/common/config.in | |
parent | dd515450aae7d58869110173117a0c9ec3a7a362 (diff) | |
download | gdb-697afb65fcf45bf27572b10e788fd8661efe5113.zip gdb-697afb65fcf45bf27572b10e788fd8661efe5113.tar.gz gdb-697afb65fcf45bf27572b10e788fd8661efe5113.tar.bz2 |
* configure.in (SIM_CHECK_MEMBERS): Call for struct stat members
st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev,
st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime.
* aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1)
(SIM_CHECK_MEMBERS): New macros.
* callback.c (cb_host_to_target_stat): Use temporary macro ST_x
for struct stat member test and write. Add ST_x calls for each
struct stat member tested in configure.in. Wrap each ST_x call in
#ifdef of configure macro for that member.
* configure, config.in: Regenerate.
Diffstat (limited to 'sim/common/config.in')
-rw-r--r-- | sim/common/config.in | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sim/common/config.in b/sim/common/config.in index 0b222e8..1360d7b 100644 --- a/sim/common/config.in +++ b/sim/common/config.in @@ -180,3 +180,43 @@ /* Define if you have the socket library (-lsocket). */ #undef HAVE_LIBSOCKET + +/* Define to 1 if st_dev is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_DEV + +/* Define to 1 if st_ino is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_INO + +/* Define to 1 if st_mode is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_MODE + +/* Define to 1 if st_nlink is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_NLINK + +/* Define to 1 if st_uid is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_UID + +/* Define to 1 if st_gid is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_GID + +/* Define to 1 if st_rdev is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_RDEV + +/* Define to 1 if st_size is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_SIZE + +/* Define to 1 if st_blksize is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_BLKSIZE + +/* Define to 1 if st_blocks is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_BLOCKS + +/* Define to 1 if st_atime is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_ATIME + +/* Define to 1 if st_mtime is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_MTIME + +/* Define to 1 if st_ctime is a member of struct stat. */ +#undef HAVE_STRUCT_STAT_ST_CTIME + |