Replaced PLATFORM with TARGET_PLATFORM.
Authored by: sumolx 2009-09-01
Parent: [r2399]
Child: [r2401]