Thomas Trummer th.trummer@gmail.com writes:
Thanks for looking at the patch.
- Is there a way to ensure that it doesn't conflict with other symbols?
I've created a small test program that includes the Linux Irda headers which works fine for Linux but I have no idea about the Mac...
Grep for each symbol in the system headers. Trying a build is not enough.
- About the AF_IRDA et al. symbols: These are already defined in the
winsock headers, so there are two options: Remove them and include the winsock header (this would also get rid of the USE_WS macros) or leave them in and add the WS_ prefix appropriately. I would create a new version of the patch accordingly...
You can't include winsock.h, that's not what Windows does.