SOLARIS: timidity.cpp won't because of missing macro
|Reported by:||SF/lblume||Owned by:||fingolfin|
Using ScummVM 0.11.0 (svn checkout of the branch):
On Solaris, the system does not define the INADDR_NONE macro. This prevents timidity.cpp from building properly.
I added the macro in util.h, then everything built fine, and runs:
$ diff -u common/util.h.original common/util.h --- common/util.h.original dim. janv. 13 01:09:35 2008 +++ common/util.h dim. janv. 13 12:28:32 2008 @@ -29,6 +29,10 @@ #include "common/str.h" #include "common/array.h"
+#ifndef INADDR_NONE +#define INADDR_NONE 0xffffffff +#endif + #ifdef MIN #undef MIN #endif
Sorry for not being able to check before tagging, I was away for a few weeks. Anyway, itś a really minor build issue.
Ticket imported from: #1870304. Ticket imported from: bugs/3557.
Change History (4)
comment:1 by , 13 years ago
|Status:||new → closed|
|Summary:||timidity.cpp won't build on Solaris because of missing macro → SOLARIS: timidity.cpp won't because of missing macro|