From: YAMAMOTO Mitsuharu Date: Wed, 10 Nov 2010 08:35:27 +0000 (+0900) Subject: Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in). X-Git-Tag: emacs-pretest-23.2.91~49^2~48 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e6068ab30281a6a494b3dbc2287832e2739cd2be;p=emacs.git Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in). --- diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 05f01b3b097..4b45beb6901 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -1251,6 +1251,9 @@ set_local_socket () 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) {