md5 & metalink: use better build macros on Apple operating systems
authorNick Zitzmann <nickzman@gmail.com>
Wed, 31 Jul 2013 02:20:20 +0000 (20:20 -0600)
committerNick Zitzmann <nickzman@gmail.com>
Wed, 31 Jul 2013 02:20:20 +0000 (20:20 -0600)
commitc3e721054822b6f2d099abb186c91518bc29be2c
tree306e75ba5d8677ba27943dfc155183fe98daaed8
parent9a5c2d83734ec671f7fb81788a916f9ffa6fb4b6
md5 & metalink: use better build macros on Apple operating systems

Previously we used __MAC_10_X and __IPHONE_X to mark digest-generating
code that was specific to OS X and iOS. Now we use
__MAC_OS_X_VERSION_MAX_ALLOWED and __IPHONE_OS_VERSION_MAX_ALLOWED
instead of those macros.

Bug: http://sourceforge.net/p/curl/bugs/1255/
Reported by: Edward Rudd
lib/md5.c
src/tool_metalink.c