summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2010-11-10 17:35:27 +0900
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2010-11-10 17:35:27 +0900
commite6068ab30281a6a494b3dbc2287832e2739cd2be (patch)
tree6fde09c44f691b0e18d47a21bc0e1438ce48e8e3 /lib-src
parent76cc4cd6925df0809924d2c77627046f6a167b71 (diff)
downloademacs-e6068ab30281a6a494b3dbc2287832e2739cd2be.tar.gz
Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in).
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsclient.c3
1 files changed, 3 insertions, 0 deletions
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)
{