Ticket #1368: diff_dyngen
| File diff_dyngen, 528 bytes (added by , 16 years ago) |
|---|
| Line | |
|---|---|
| 1 | Index: dyngen.c |
| 2 | =================================================================== |
| 3 | --- dyngen.c (revision 30653) |
| 4 | +++ dyngen.c (working copy) |
| 5 | @@ -2103,7 +2103,9 @@ |
| 6 | fprintf(outfile, " extern char %s;\n", |
| 7 | sym_name); |
| 8 | #else |
| 9 | - fprintf(outfile, "extern char %s;\n", sym_name); |
| 10 | + /* don't include memcpy here! */ |
| 11 | + if (strcmp(sym_name, "memcpy")) |
| 12 | + fprintf(outfile, "extern char %s;\n", sym_name); |
| 13 | #endif |
| 14 | } |
| 15 | } |

