On all but the latest VMS versions, the pthread_attr_setscope function is unavailable. Even where it is available it is a no-op since only process scope is supported. The patch here simply excludes the call.