Ticket #44898: tiger-USER_XXX_DIRs.patch

File tiger-USER_XXX_DIRs.patch, 561 bytes (added by ballapete (Peter "Pete" Dyballa), 9 years ago)

tiger-USER_XXX_DIRs.patch

  • llvm-3.3.src/lib/Support/PathV2.

    old new  
    496496void system_temp_directory(bool erasedOnReboot, SmallVectorImpl<char> &result) {
    497497  result.clear();
    498498
    499 #ifdef __APPLE__
     499#if defined _CS_DARWIN_USER_TEMP_DIR && defined _CS_DARWIN_USER_CACHE_DIR
    500500  // On Darwin, use DARWIN_USER_TEMP_DIR or DARWIN_USER_CACHE_DIR.
    501501  int ConfName = erasedOnReboot? _CS_DARWIN_USER_TEMP_DIR
    502502                               : _CS_DARWIN_USER_CACHE_DIR;