Ticket #386: emxomfld.diff

File emxomfld.diff, 737 bytes (added by KO Myung-Hun, 5 years ago)

Patch for fix conversion to wlink style

  • src/emx/src/emxomf/emxomfld.c

    diff --git a/src/emx/src/emxomf/emxomfld.c b/src/emx/src/emxomf/emxomfld.c
    index 3e756e40..147e2141 100755
    a b static int def_2_watcom(struct _md *md, const _md_stmt *stmt, _md_token token, v  
    13301330        break;
    13311331
    13321332      case _MD_IMPORTS:
    1333         fprintf (response_file, "IMPORT '%s' '%s'", stmt->import.internalname,
     1333        fprintf (response_file, "IMPORT '%s' '%s'",
     1334                 stmt->import.internalname[0] ?
     1335                   stmt->import.internalname : stmt->import.entryname,
    13341336                 stmt->import.modulename);
    13351337        if (stmt->import.flags & _MDEP_ORDINAL)
    13361338          fprintf (response_file, ".%d", stmt->import.ordinal);