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:
Danny Su 2016-12-20 15:41:15 -08:00 committed by Jonathan White
parent 9547ac0afd
commit 63a1b49745

View File

@ -13,8 +13,10 @@ See zxcvbn/zxcvbn.cpp for complete COPYRIGHT Notice
/* For pre-compiled headers under windows */
#ifdef _WIN32
#ifndef __MINGW32__
#include "stdafx.h"
#endif
#endif
static void calculate(const char *pwd, int advanced)
{