On Windows, the winnt.h header defines DELETE as a macro for a “Standard Access Right” bitmask (0x00010000L).
This introduces a fragile dependency on header inclusion order: if Windows headers happen to be included before the RecordType enum definition, the preprocessor expands DELETE into a numeric literal, causing syntax errors.
Rename the enumerator to DELETE_FLAG to remove this fragility and avoid the collision entirely.
Split from #34448.