That's a good solution for future code, but not for past code. For example, lots of past code makes the assumption that
current_unix_time+1 second > current_unix_time
which won't be true when the wraparound happens.