Hey there,

There are two very minor issues when compiling scvm on Mac OS X:

1) sighandler_t is called sig_t
2) The position of the #include <stdio.h> in scvm.c causes an error in one of the system headers. Commenting it out solves the problem

I have attached a patch which fixes these issues, though i currently don't have access to a linux system so in the case of #1, i don't know if sig_t exists there. Alternatively though you could use void* instead of sighandler_t (then again i don't know what signal in linux returns).

Now i can get scvm to run, but it still errors out with an array error in OpenQuest. Better get the hammer out i guess. :(

Regards,

James S Urquhart

Attachment: mac_fix.diff
Description: Binary data


_______________________________________________
ScummC-general mailing list
[email protected]
https://mail.gna.org/listinfo/scummc-general

Reply via email to