在vs2022,c++17 上编译通过
This commit is contained in:
parent
3259d1b452
commit
10905b90c8
6 changed files with 66 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/** Random number generator adapted from (see comments below)
|
||||
/** Random number generator adapted from (see comments below)
|
||||
|
||||
The random number generator is modified into a class
|
||||
by Maarten Keijzer (mak@dhi.dk). Also added the Box-Muller
|
||||
|
|
@ -37,7 +37,10 @@ Old contact information: todos@geneura.ugr.es, http://geneura.ugr.es
|
|||
optimization levels so feel free to try your options and see what's best for
|
||||
you.
|
||||
*/
|
||||
#if HAVE_UINT32_T
|
||||
typedef unsigned long uint32_t;
|
||||
#endif // HAVE_UINT32_T
|
||||
|
||||
#else
|
||||
#if (! defined __sun)
|
||||
// The C99-standard defines uint32_t to be declared in stdint.h, but some
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue