Mercurial > hg > octave-nkf
diff liboctave/file-stat.cc @ 3887:7da18459c08b
[project @ 2002-04-04 00:44:21 by jwe]
author | jwe |
---|---|
date | Thu, 04 Apr 2002 00:46:37 +0000 |
parents | 5eef8a2294bd |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/liboctave/file-stat.cc +++ b/liboctave/file-stat.cc @@ -180,15 +180,15 @@ fs_mtime = buf.st_mtime; fs_ctime = buf.st_ctime; -#if defined (HAVE_ST_RDEV) +#if defined (HAVE_STRUCT_STAT_ST_RDEV) fs_rdev = buf.st_rdev; #endif -#if defined (HAVE_ST_BLKSIZE) +#if defined (HAVE_STRUCT_STAT_ST_BLKSIZE) fs_blksize = buf.st_blksize; #endif -#if defined (HAVE_ST_BLOCKS) +#if defined (HAVE_STRUCT_STAT_ST_BLOCKS) fs_blocks = buf.st_blocks; #endif } @@ -216,15 +216,15 @@ fs_mtime = fs.fs_mtime; fs_ctime = fs.fs_ctime; -#if defined (HAVE_ST_RDEV) +#if defined (HAVE_STRUCT_STAT_ST_RDEV) fs_rdev = fs.fs_rdev; #endif -#if defined (HAVE_ST_BLKSIZE) +#if defined (HAVE_STRUCT_STAT_ST_BLKSIZE) fs_blksize = fs.fs_blksize; #endif -#if defined (HAVE_ST_BLOCKS) +#if defined (HAVE_STRUCT_STAT_ST_BLOCKS) fs_blocks = fs.fs_blocks; #endif }