diff options
| author | Paul Eggert | 2011-03-14 16:31:21 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-14 16:31:21 -0700 |
| commit | 15dfd3d9d66e43270f6ba506a7333bdc409a1ea9 (patch) | |
| tree | da2c5f5312070778770289e1dff7bfdb90cbbd46 /src/sysdep.c | |
| parent | edced198e35ccd2ab81797988705597da3fc3e19 (diff) | |
| download | emacs-15dfd3d9d66e43270f6ba506a7333bdc409a1ea9.tar.gz emacs-15dfd3d9d66e43270f6ba506a7333bdc409a1ea9.zip | |
* sysdep.c (MAXPATHLEN): Define only if needed.
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 1c49b2a3387..6ef3d88c5c8 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -1886,13 +1886,13 @@ emacs_write (int fildes, const char *buf, unsigned int nbyte) | |||
| 1886 | * under error conditions. | 1886 | * under error conditions. |
| 1887 | */ | 1887 | */ |
| 1888 | 1888 | ||
| 1889 | #ifndef HAVE_GETWD | ||
| 1890 | |||
| 1889 | #ifndef MAXPATHLEN | 1891 | #ifndef MAXPATHLEN |
| 1890 | /* In 4.1, param.h fails to define this. */ | 1892 | /* In 4.1, param.h fails to define this. */ |
| 1891 | #define MAXPATHLEN 1024 | 1893 | #define MAXPATHLEN 1024 |
| 1892 | #endif | 1894 | #endif |
| 1893 | 1895 | ||
| 1894 | #ifndef HAVE_GETWD | ||
| 1895 | |||
| 1896 | char * | 1896 | char * |
| 1897 | getwd (char *pathname) | 1897 | getwd (char *pathname) |
| 1898 | { | 1898 | { |