From 1fdeb4c7882ffba85cfc3334e4530fc0641b48ba Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Wed, 20 Nov 2013 20:55:56 +0100
Subject: [PATCH] Changed handling of predefined macros in cc65 allows for
simplification.
---
core/cfs/cfs-posix-dir.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/cfs/cfs-posix-dir.c b/core/cfs/cfs-posix-dir.c
index 4512f5786..0eb2ba9cb 100644
--- a/core/cfs/cfs-posix-dir.c
+++ b/core/cfs/cfs-posix-dir.c
@@ -66,11 +66,11 @@ cfs_readdir(struct cfs_dir *p, struct cfs_dirent *e)
return -1;
}
strncpy(e->name, res->d_name, sizeof(e->name));
-#if defined(__APPLE2__) || defined(__APPLE2ENH__) || defined(__CBM__)
+#if defined(__APPLE2__) || defined(__CBM__)
e->size = res->d_blocks;
-#else /* __APPLE2__ || __APPLE2ENH__ || __CBM__ */
+#else /* __APPLE2__ || __CBM__ */
e->size = 0;
-#endif /* __APPLE2__ || __APPLE2ENH__ || __CBM__ */
+#endif /* __APPLE2__ || __CBM__ */
return 0;
}
/*---------------------------------------------------------------------------*/