mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-13 23:36:03 +00:00
Fix crash on OS X x86_64.
This commit is contained in:
parent
48996a6627
commit
ea8ee367ee
6
Makefile
6
Makefile
@ -39,3 +39,9 @@ util.o: util.c util.h
|
||||
rad50.o: rad50.c rad50.h
|
||||
dumpobj.o: dumpobj.c rad50.h util.h
|
||||
rad50.o: rad50.c rad50.h
|
||||
|
||||
# Since the only test we have so far is for a crash bug,
|
||||
# just try to assemble. Later, we will need expected/actual tests.
|
||||
tests: macro11
|
||||
./macro11 tests/*
|
||||
|
||||
|
||||
@ -551,6 +551,8 @@ static int assemble(
|
||||
my_searchenv(macfile, "MCALL", hitfile, sizeof(hitfile));
|
||||
if (hitfile[0])
|
||||
macstr = new_file_stream(hitfile);
|
||||
else
|
||||
macstr = NULL;
|
||||
}
|
||||
|
||||
if (macstr != NULL) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user