aboutsummaryrefslogtreecommitdiff
path: root/passgen.c
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2024-04-06 21:11:37 +1100
committerNicholas Tay <nick@windblume.net>2024-04-06 21:12:12 +1100
commit4bb135bc104adcef1bea79726b8a6e5d6c73449f (patch)
tree7dae7ce6b92e30640473b71984b6e6f0daa41cf7 /passgen.c
parentdb24e6bfa08f9745c80d16541832f28e664becf6 (diff)
downloadpassgen-4bb135bc104adcef1bea79726b8a6e5d6c73449f.tar.gz
passgen-4bb135bc104adcef1bea79726b8a6e5d6c73449f.tar.bz2
passgen-4bb135bc104adcef1bea79726b8a6e5d6c73449f.zip
Support win32 mingw cross-compile in make
Required a slight mod to Windows.h to be lower case so it works on Linux mingw. Turns out it's case-insensitive on Windows MSVC/MSYS.
Diffstat (limited to 'passgen.c')
-rw-r--r--passgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/passgen.c b/passgen.c
index 09193ae..ff587fc 100644
--- a/passgen.c
+++ b/passgen.c
@@ -27,7 +27,7 @@
#endif
#elif defined (USE_WINCRYPT)
# define WIN32_LEAN_AND_MEAN
-# include <Windows.h>
+# include <windows.h>
# include <wincrypt.h>
#else
# include <time.h>