Branch: Tag:

2014-10-17

2014-10-17 19:08:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: SOL_TCP is called IPPROTO_TCP in Solaris.

Fixes compilation issues on Solaris 11.

114:   #define MAP_FILE 0   #endif /* !MAP_FILE */    + #ifndef !defined(SOL_TCP) && defined(IPPROTO_TCP) +  /* SOL_TCP isn't defined in Solaris. */ + #define SOL_TCP IPPROTO_TCP + #endif +    /*    * Only support for threaded operation right now.    */