Репозитории ALT
Группа :: Эмуляторы
Пакет: dgen-sdl
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: dgen-sdl-1.23-m68kmake.c.patch
Скачать
Скачать
--- dgen-1.23.orig/musa/m68kmake.c
+++ dgen-1.23/musa/m68kmake.c
@@ -1029,9 +1029,10 @@
fprintf(filep, "/* ========================= OPCODE TABLE BUILDER ========================= */\n");
fprintf(filep, "/* ======================================================================== */\n\n");
+ fprintf(filep, "#include <stdlib.h>\n\n"); /* moved here for gcc 4.0 */
fprintf(filep, "#include \"m68kops.h\"\n");
fprintf(filep, "#include \"m68kcpu.h\"\n");
- fprintf(filep, "#include <stdlib.h>\n\n");
+ /*fprintf(filep, "#include <stdlib.h>\n\n");*/
fprintf(filep, "#include <string.h>\n\n");
fprintf(filep, "extern void (*m68k_instruction_jump_table[])(void); /* opcode handler jump table */\n\n");