mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Win32: Reduce threshold to display the "few random bits" warning.
Win32 has a smaller pool of random bits, but the displayed warning confuses really a lot of people. Hence, I think we'd better switch off this warning for this particular known case.
This commit is contained in:
parent
025032dc9d
commit
04bc248c34
@ -54,7 +54,14 @@
|
|||||||
/* Constants *******************************************************/
|
/* Constants *******************************************************/
|
||||||
#define DEBUG_GUID 0
|
#define DEBUG_GUID 0
|
||||||
#define BLOCKSIZE 4096
|
#define BLOCKSIZE 4096
|
||||||
#define THRESHOLD (2 * BLOCKSIZE)
|
#ifdef G_PLATFORM_WIN32
|
||||||
|
/* Win32 has a smaller pool of random bits, but the displayed warning confuses
|
||||||
|
* really a lot of people. Hence, I think we'd better switch off this warning
|
||||||
|
* for this particular known case. */
|
||||||
|
# define THRESHOLD 1500
|
||||||
|
#else
|
||||||
|
# define THRESHOLD (2 * BLOCKSIZE)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Static global variables *****************************************/
|
/* Static global variables *****************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user