- Changed define from WIN32 to _WIN32 to also support 64-bit windows platforms
diff --git a/programs/aes/aescrypt2.c b/programs/aes/aescrypt2.c
index 59caf30..e6a243f 100644
--- a/programs/aes/aescrypt2.c
+++ b/programs/aes/aescrypt2.c
@@ -27,7 +27,7 @@
 #define _CRT_SECURE_NO_DEPRECATE 1
 #endif
 
-#if defined(WIN32)
+#if defined(_WIN32)
 #include <windows.h>
 #include <io.h>
 #else
diff --git a/programs/aes/crypt_and_hash.c b/programs/aes/crypt_and_hash.c
index afd85a7..8c9c50f 100644
--- a/programs/aes/crypt_and_hash.c
+++ b/programs/aes/crypt_and_hash.c
@@ -28,7 +28,7 @@
 #define _CRT_SECURE_NO_DEPRECATE 1
 #endif
 
-#if defined(WIN32)
+#if defined(_WIN32)
 #include <windows.h>
 #include <io.h>
 #else