From 20bf23cf067dc130f2e9737012f7c49adb8df36a Mon Sep 17 00:00:00 2001 From: nvt Date: Mon, 14 Feb 2011 15:53:08 +0100 Subject: [PATCH] Replaced ifdef with if, as salvopitru suggested --- core/cfs/cfs-coffee.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cfs/cfs-coffee.c b/core/cfs/cfs-coffee.c index 0180b27e8..c8ece1da3 100755 --- a/core/cfs/cfs-coffee.c +++ b/core/cfs/cfs-coffee.c @@ -1168,7 +1168,7 @@ cfs_write(int fd, const void *buf, unsigned size) file = fdp->file; /* Attempt to extend the file if we try to write past the end. */ -#ifdef COFFEE_IO_SEMANTICS +#if COFFEE_IO_SEMANTICS if(!(fdp->io_flags & CFS_COFFEE_IO_FIRM_SIZE)) { #endif while(size + fdp->offset + sizeof(struct file_header) > @@ -1179,7 +1179,7 @@ cfs_write(int fd, const void *buf, unsigned size) file = fdp->file; PRINTF("Extended the file at page %u\n", (unsigned)file->page); } -#ifdef COFFEE_IO_SEMANTICS +#if COFFEE_IO_SEMANTICS } #endif