about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2000-09-18 03:36:22 +0000
committerClint Adams <clint@users.sourceforge.net>2000-09-18 03:36:22 +0000
commit2d9e68f3cbd7fe817fa3a204d1a55ac79980abeb (patch)
tree8c3a2f987188deb21a4c02562fbf42752422e203 /Src/system.h
parent04bf2c822fd3ba20438ec2c51186b0cd438a50f0 (diff)
downloadzsh-2d9e68f3cbd7fe817fa3a204d1a55ac79980abeb.tar.gz
zsh-2d9e68f3cbd7fe817fa3a204d1a55ac79980abeb.tar.xz
zsh-2d9e68f3cbd7fe817fa3a204d1a55ac79980abeb.zip
unposted: define mailstat as a macro if MAILDIR_SUPPORT is undefined
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h
index fc85efdb4..80feebc05 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -673,3 +673,7 @@ extern short ospeed;
 #if defined(CONFIG_LOCALE) && defined(HAVE_SETLOCALE) && defined(LC_ALL)
 # define USE_LOCALE 1
 #endif /* CONFIG_LOCALE && HAVE_SETLOCALE && LC_ALL */
+
+#ifndef MAILDIR_SUPPORT
+#define mailstat(X,Y) stat(X,Y)
+#endif