mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01: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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user