SimpleAmqpClient
SimpleAmqpClient copied to clipboard
Build system under cygwin
When building under cygwin with MinGW installed both sys/types.h and WinSock2.h are available to the compiler. We need to be a bit smarter about how we detect which socket library to use.
- For native Win32 - we need to use WinSock2
- For cygwin based executables we need to use posix sockets