summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-07-12 08:20:39 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-07-12 08:20:39 -0700
commitdebd9b27a2337d527c24089f67f2cc5a4bb05ef3 (patch)
treefe6e74a1be06eb5d4d95f0014c3ce1ae4d15c110 /lib-src
parent56bc1586eaf4647bd9878e826779ad0d785820b3 (diff)
downloademacs-debd9b27a2337d527c24089f67f2cc5a4bb05ef3.tar.gz
* movemail.c: Add missing 'defined'.
Suggested by Sven Joachim in <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html>.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog6
-rw-r--r--lib-src/movemail.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 28f3403b369..4f4d2b50a00 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,9 @@
+2012-07-12 Paul Eggert <eggert@cs.ucla.edu>
+
+ * movemail.c: Add missing 'defined'.
+ Suggested by Sven Joachim in
+ <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html>.
+
2012-07-11 Paul Eggert <eggert@cs.ucla.edu>
Port 'movemail' again to Solaris and similar hosts.
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index fb2111fd621..d157aa8c0b9 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -145,7 +145,7 @@ static int mbx_delimit_begin (FILE *mbf);
static int mbx_delimit_end (FILE *mbf);
#endif
-#if (MAIL_USE_MAILLOCK \
+#if (defined MAIL_USE_MAILLOCK \
|| (!defined DISABLE_DIRECT_ACCESS && !defined MAIL_USE_MMDF \
&& !defined MAIL_USE_SYSTEM_LOCK))
/* Like malloc but get fatal error if memory is exhausted. */