Subject: | Build failure Win32 with 3 line patch |
Under Perl 5.8.8 on WinXP Math::Random::MT fails to build. There is an
example of this failure in the 1.07 version tester results. The failure
occurs because uint32_t is undefined. This is simply resolved by
defining it in mt.h if it is not already defined.....
*** mt.old.h 2008-05-20 11:16:26.812500000 +1000
--- mt.h 2008-05-20 11:18:10.625000000 +1000
***************
*** 13,18 ****
--- 13,22 ----
#include <sys/types.h>
#endif
+ #ifndef uint32_t
+ #define uint32_t unsigned int
+ #endif
+
#ifndef _MATH_MT_H_
#define _MATH_MT_H_