add mingw random/rand workaround
This commit is contained in:
parent
fc7f72765e
commit
76989a39e8
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user