Changeset 171854 in webkit


Ignore:
Timestamp:
Jul 31, 2014, 9:07:14 AM (11 years ago)
Author:
mitz@apple.com
Message:

Tried to fix building with the OS X 10.9 SDK while targeting OS X 10.8.

  • platform/network/cocoa/CredentialCocoa.mm:

(WebCore::toCredentialPersistence):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r171851 r171854  
     12014-07-31  Dan Bernstein  <mitz@apple.com>
     2
     3        Tried to fix building with the OS X 10.9 SDK while targeting OS X 10.8.
     4
     5        * platform/network/cocoa/CredentialCocoa.mm:
     6        (WebCore::toCredentialPersistence):
     7
    182014-07-31  Jer Noble  <jer.noble@apple.com>
    29
  • trunk/Source/WebCore/platform/network/cocoa/CredentialCocoa.mm

    r171801 r171854  
    2626#import "config.h"
    2727#import "CredentialCocoa.h"
     28
     29#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED == 1080
     30// This value is available in OS X 10.8 but only appeared in the OS X 10.9 SDK.
     31enum {
     32    NSURLCredentialPersistenceSynchronizable = 3
     33};
     34#endif
    2835
    2936#if USE(CFNETWORK)
     
    5966        return CredentialPersistenceForSession;
    6067    case NSURLCredentialPersistencePermanent:
    61 #if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
    6268    case NSURLCredentialPersistenceSynchronizable:
    63 #endif
    6469        return CredentialPersistencePermanent;
    6570    }
Note: See TracChangeset for help on using the changeset viewer.