Building NSPR with mods that depend on winsock2.h, mswsock.h, and ws2tcpip.h
Jon Leighton <[email protected]> Thu, 22 Jan 2009 20:52:33 -0500
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Organization | University of Delaware |
| Message-ID | <[email protected]> |
Please let me know if this should be posted in a different newsgroup. (moz.dev.builds?) I'm working on modifying NSPR to support SCTP and I'm running into some problems trying to build NSPR (WIN95 target) on Windows XP (with which I'm not very familiar). The problem I'm running into is that I've made some modifications to prio.h that use several structures defined in the SCTP header file. I've included the SCTP header file in my prio.h, but that's not sufficient. As nearly as I understand it, building NSPR with a WIN95 target is done with winsock.h and a few items plucked from winsock2.h, but the SCTP header file depends on several things defined in winsock2.h, mswsock.h and ws2tcpip.h. As a first cut, I've been trying to identify those items and define them in a header file that I include in prio.h ahead of the SCTP header file. I don't have a solid enough understanding of the relationships among the various NSPR include files to be sure that this is a viable approach, and I suspect that even if it is there's probably a cleaner approach. I'd be grateful for any suggestions about how to make this work, or a better way to approach it. Thanks very much.