Here is a patch to move rand_r from pthread.h to stdlib.h Typical POSIX programs expect this to be in stdlib
Very similar to the previously applied patches in moving localtime_r. Using the same guards to try best to ensure legacy support with win32-pthreads. Comments and suggestions are welcome Martell
0001-move-rand_r-to-from-pthread.h-to-stdlib.h.patch
Description: Binary data
------------------------------------------------------------------------------
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
