In Mac OS X 10.2 Jaguar, Apple introduced IPv6 support. Like other IPv6-capable operating systems, Mac OS will prefer IPv6 over IPv4 if it has a choice.
Complete info at ars technica.