mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-04 21:17:43 +03:00
Fix build for 64-bit Windows (#130)
Building on 64-bit Windows gets to 99% and fails on this particular file due to the `stdafx.h` inclusion. The macro in `entropy-meter.cpp` is different than `src/zxcvbn/zxcvbn.cpp`. After copying the macro from `zxcvbn.cpp` and rebuilding, the Windows build succeeded.
This commit is contained in:
parent
9547ac0afd
commit
63a1b49745
1 changed files with 2 additions and 0 deletions
|
@ -13,8 +13,10 @@ See zxcvbn/zxcvbn.cpp for complete COPYRIGHT Notice
|
||||||
|
|
||||||
/* For pre-compiled headers under windows */
|
/* For pre-compiled headers under windows */
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#ifndef __MINGW32__
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
static void calculate(const char *pwd, int advanced)
|
static void calculate(const char *pwd, int advanced)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue