Ticket #44898: tiger-undefined-_CS_DARWIN_USER_-macros.patch
File tiger-undefined-_CS_DARWIN_USER_-macros.patch, 622 bytes (added by ballapete (Peter "Pete" Dyballa), 8 years ago) |
---|
-
lib/Support/PathV2.cpp
old new 498 498 499 499 #ifdef __APPLE__ 500 500 // On Darwin, use DARWIN_USER_TEMP_DIR or DARWIN_USER_CACHE_DIR. 501 // ...which are not defined in Tiger and earlier! 502 #ifndef _CS_DARWIN_USER_TEMP_DIR 503 #define _CS_DARWIN_USER_TEMP_DIR 65537 504 #endif 505 #ifndef _CS_DARWIN_USER_CACHE_DIR 506 #define _CS_DARWIN_USER_CACHE_DIR 65538 507 #endif 508 501 509 int ConfName = erasedOnReboot? _CS_DARWIN_USER_TEMP_DIR 502 510 : _CS_DARWIN_USER_CACHE_DIR; 503 511 size_t ConfLen = confstr(ConfName, 0, 0);