[ scummvm-Bugs-1870304 ] timidity.cpp won't build on Solaris because of missing macro
SourceForge.net
noreply at sourceforge.net
Sun Jan 13 13:21:19 CET 2008
Bugs item #1870304, was opened at 2008-01-13 13:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1870304&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: iMuse/Music
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: laurent (lblume)
Assigned to: Nobody/Anonymous (nobody)
Summary: timidity.cpp won't build on Solaris because of missing macro
Initial Comment:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1870304&group_id=37116
More information about the Scummvm-tracker
mailing list