add mingw random/rand workaround

This commit is contained in:
jasonmoxham 2009-10-03 13:56:59 +00:00
parent fc7f72765e
commit 76989a39e8
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ MA 02110-1301, USA. */
#include "gmp-impl.h" #include "gmp-impl.h"
#include "tests.h" #include "tests.h"
#ifdef _MSC_VER #if defined(_MSC_VER) || defined(__MINGW32__)
#define random rand #define random rand
#endif #endif

View File

@ -27,7 +27,7 @@ MA 02110-1301, USA. */
#include "gmp-impl.h" #include "gmp-impl.h"
#include "tests.h" #include "tests.h"
#ifdef _MSC_VER #if defined(_MSC_VER) || defined(__MINGW32__)
#define random rand #define random rand
#endif #endif