Problem: test_system info output hidden on Solaris

Solution: change the ifdef to always print on any Unix, as they
all have ulimit
This commit is contained in:
Luca Boccassi 2018-05-13 13:19:07 +01:00
parent 510a42c3d5
commit c5b7f4f536

View File

@ -90,10 +90,8 @@ int main (void)
printf ("W: Only able to create %d sockets on this box\n", count);
printf (
"I: Tune your system to increase maximum allowed file handles\n");
#if defined(ZMQ_HAVE_OSX)
printf ("I: On OS/X, run 'ulimit -n 1200' in bash\n");
#elif defined(ZMQ_HAVE_LINUX)
printf ("I: On Linux, run 'ulimit -n 1200' in bash\n");
#if !defined(ZMQ_HAVE_WINDOWS)
printf ("I: Run 'ulimit -n 1200' in bash\n");
#endif
return -1;
}