summaryrefslogtreecommitdiff
path: root/external/zxcvbn-c/zxcvbn-c-2.5-do-not-use-stdafx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/zxcvbn-c/zxcvbn-c-2.5-do-not-use-stdafx.patch')
-rw-r--r--external/zxcvbn-c/zxcvbn-c-2.5-do-not-use-stdafx.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/external/zxcvbn-c/zxcvbn-c-2.5-do-not-use-stdafx.patch b/external/zxcvbn-c/zxcvbn-c-2.5-do-not-use-stdafx.patch
new file mode 100644
index 000000000000..1b5151995067
--- /dev/null
+++ b/external/zxcvbn-c/zxcvbn-c-2.5-do-not-use-stdafx.patch
@@ -0,0 +1,13 @@
+--- a/zxcvbn-c/zxcvbn.c
++++ b/zxcvbn-c/zxcvbn.c
+@@ -44,11 +44,6 @@
+ #endif
+ #endif
+
+-/* For pre-compiled headers under windows */
+-#ifdef _WIN32
+-#include "stdafx.h"
+-#endif
+-
+ /* Minimum number of characters in a incrementing/decrementing sequence match */
+ #define MIN_SEQUENCE_LEN 3