From f47a5239d44117a15fe16f95708d58adcfd50a6a Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sat, 2 Jun 2001 20:30:20 +0000 Subject: [PATCH] * fports.c: HAVE_ST_BLKSIZE changed to HAVE_STRUCT_STAT_ST_BLKSIZE. (scm_fport_buffer_add): HAVE_ST_BLKSIZE changed to HAVE_STRUCT_STAT_ST_BLKSIZE. --- libguile/fports.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libguile/fports.c b/libguile/fports.c index c8586a38b..acf7b3f2f 100644 --- a/libguile/fports.c +++ b/libguile/fports.c @@ -61,7 +61,7 @@ #else size_t fwrite (); #endif -#ifdef HAVE_ST_BLKSIZE +#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE #include #endif @@ -88,7 +88,7 @@ scm_fport_buffer_add (SCM port, long read_size, int write_size) if (read_size == -1 || write_size == -1) { size_t default_size; -#ifdef HAVE_ST_BLKSIZE +#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE struct stat st; default_size = (fstat (fp->fdes, &st) == -1) ? default_buffer_size