ntdll: Use INT_MAX for the semaphore count since LONG_MAX won't work on 64-bit.
[wine] / dlls / ntdll / pthread.c
2008-10-30  Alexandre Julliardkernel32: Moved the pthread emulation support to ntdll.