• Al Sutton's avatar
    Fix building on modern versions of Xcode and OS X. · 017c97a5
    Al Sutton authored
    Recent versions of XCode fail to compile the adb and fastboot binaries due to
    two functions being deprecated in 10.9 (GetCurrentProcess and
    ProcessInformationCopyDictionary), and the use of -Werrror.
    
    This patch replaces the method implementations which use calls to methods
    deprecated in the 10.9 SDK with versions which only call non-deprecated methods.
    
    (cherry picked from commit f456d47c)
    
    Change-Id: Ibd80dda73ccdd7c561b50b4065581e645d9855d6
    017c97a5
util_osx.c 1.85 KB