Gov. Mark Sanford declared a state of emergency for a coastal county where a wildfire has consumed thousands of acres and destroyed dozens of homes.