I am sorry. I had not noticed and did not expect that, by default, with just one flag "GUI", theide compiles the OSX version...
On the other hand, UPP_VERSION 0x20220100 with GUI COCOA flags gives me:
error: expected identifier
expanded from macro #define TCP_NODELAY 0x01,
Any ideas how to fix this?
Rename TCP_NODELAY?
It appears that the define does define TCP_NODELAY to the same value (1). Therefore have fixed this with #ifndef TCP_NODELAY ...