Check for SIZE_T, fallback to SIZE_T_MAX or define as (size_t)-1.