Skip to content

Commit e24bd7e

Browse files
committed
patchsize should attempt to patch FreeCom build regardless of compiler that builds tool which may not match compiler that built exe being patched.
1 parent a6ffd2a commit e24bd7e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tools/ptchsize.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ int main(int argc, char **argv)
273273

274274
printf("Patching '%s' to heap size of %u bytes\n"
275275
, argv[1], tosize);
276-
#if defined(__TURBOC__) || defined(GCC)
277276
/* Watcom already has extraMin minimal and dynamically adjusts its MCB*/
278277
if(tosize) {
279278
#ifdef GCC
@@ -293,7 +292,6 @@ int main(int argc, char **argv)
293292
"File most probably corrupted now: %s\n", argv[1]);
294293
return 77;
295294
}
296-
#endif
297295

298296
#ifndef GCC
299297
if(fseek(freecom, ival.heapPos, SEEK_SET) != 0) {

0 commit comments

Comments
 (0)