mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-20 22:31:34 +01:00
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:
parent
510a42c3d5
commit
c5b7f4f536
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user