Commit e6068ab3 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in).

parent 76cc4cd6
...@@ -1251,6 +1251,9 @@ set_local_socket () ...@@ -1251,6 +1251,9 @@ set_local_socket ()
if (!tmpdir) if (!tmpdir)
{ {
#ifdef DARWIN_OS #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); size_t n = confstr (_CS_DARWIN_USER_TEMP_DIR, NULL, (size_t) 0);
if (n > 0) if (n > 0)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment