@staticmethod
def _patch_for_win_winapi(orig_file, patch_file):
    """ Both _winapi.c and overlapped.c define a C structure with the name
        OverlappedType.  We rename the former.
        """
    for line in orig_file:
        patch_file.write(line.replace('OverlappedType', 'OverlappedType_'))
