Commit 15dfd3d9 authored by Paul Eggert's avatar Paul Eggert
Browse files

* sysdep.c (MAXPATHLEN): Define only if needed.

parent edced198
......@@ -4,6 +4,7 @@
Fix pointer signedness issue.
(sys_subshell): Mark local as volatile if checking for lint,
to suppress a gcc -Wclobbered warning that does not seem to be right.
(MAXPATHLEN): Define only if needed.
* process.c (serial_open, serial_configure): Move decls from here ...
* systty.h: ... to here, so that they can be checked.
......@@ -1886,13 +1886,13 @@ emacs_write (int fildes, const char *buf, unsigned int nbyte)
* under error conditions.
#ifndef HAVE_GETWD
/* In 4.1, param.h fails to define this. */
#define MAXPATHLEN 1024
#ifndef HAVE_GETWD
char *
getwd (char *pathname)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment