I'd agree with Peter that it depends on what the plan says - for example if plan terms refer to "spouse" by reference to DOMA or husband/wife. If you need to amend, and you're planning to file a Form 5310 to get a favorable DL upon termination, this "Note" under the What to File paragraph of the 5310 instructions might be useful:
Note. A terminating plan generally does not have to be restated. However, the Service has the discretion to request copies of any amendments during its review of a terminating plan. A plan that terminates after the effective date of a change in law, but prior to the date that amendments are otherwise required, must be amended to comply with the applicable provisions of law from the date on which such provisions become effective with respect to the plan. The plan must be amended in connection with the plan termination to comply with those provisions of law that become effective with respect to the plan or before the date of plan termination, including any amendments made after the date of termination that were required in order to obtain a favorable DL. See also the instructions to line 3f.
Regarding what amendments might be needed under your plan, see IRS Notice 2014-19 and Notice 2015-86, which were issued following Windsor and Obergefell, respectively.