Replaced gcs2D_PROFILE_PTR by its definition