-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make gmediarender compile with version libupnp 1.6.7 ... 1.6.16.
With version 1.6.7 and above, the UPNP library maintainers made a questionable API choice to register the webserver callbacks one-by-one, instead of having a struct with the callbacks which is certainly a better and 'typical' C API choice. They removed the UpnpVirtualDirCallbacks in the course of that. Because it breaks code, it has been reverted in version 1.6.16 (see http://sourceforge.net/p/pupnp/bugs/29/ ), but we essentially have a broken version between 1.6.7 ... 1.6.16. Assuming that they will go on with this broken idea and eventually remove the support for the VirtualDirCallbacks in new major versions, we now register the callbacks separately when upnp-version >= 1.6.7
- Loading branch information
Showing
3 changed files
with
43 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d0fc9f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's very good,thank you!