]> git.eshelyaron.com Git - emacs.git/commitdiff
Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in).
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 10 Nov 2010 08:35:27 +0000 (17:35 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 10 Nov 2010 08:35:27 +0000 (17:35 +0900)
lib-src/emacsclient.c

index 05f01b3b09762fb94bceda84a9348f2e78a8d1da..4b45beb6901172d76aceb71d94b90e2dd942ac66 100644 (file)
@@ -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)
               {