Mercurial > emacs
changeset 111598:66622c9fb890
Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in).
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Wed, 10 Nov 2010 17:35:27 +0900 |
parents | a2b3d2ebf08a |
children | d6320bd900cd |
files | lib-src/emacsclient.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/emacsclient.c Wed Nov 10 17:33:14 2010 +0900 +++ b/lib-src/emacsclient.c Wed Nov 10 17:35:27 2010 +0900 @@ -1251,6 +1251,9 @@ if (!tmpdir) { #ifdef DARWIN_OS +#ifndef _CS_DARWIN_USER_TEMP_DIR +#define _CS_DARWIN_USER_TEMP_DIR 65537 +#endif size_t n = confstr (_CS_DARWIN_USER_TEMP_DIR, NULL, (size_t) 0); if (n > 0) {