aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-08-20 21:03:18 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-08-20 21:03:18 +0300
commit0e9a789e663b2f05e8e77136d64bd1c04747d17f (patch)
treea0add4e27c7d9ab23fb93a41bb7ce2b306feceb9
parentcode style (diff)
downloadaes-tools-0e9a789e663b2f05e8e77136d64bd1c04747d17f.tar.gz
aes-tools-0e9a789e663b2f05e8e77136d64bd1c04747d17f.zip
Windows.h > windows.h
... to enable cross-compilation from Ubuntu, where there's windows.h, and paths are case-sensitive.
Diffstat (limited to '')
-rw-r--r--cxx/include/aesxx/debug.hpp2
-rw-r--r--src/error.c2
-rw-r--r--utils/decrypt_bmp.cpp2
-rw-r--r--utils/helpers/bmp.hpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/cxx/include/aesxx/debug.hpp b/cxx/include/aesxx/debug.hpp
index bf1fc9a..96e81b5 100644
--- a/cxx/include/aesxx/debug.hpp
+++ b/cxx/include/aesxx/debug.hpp
@@ -6,7 +6,7 @@
#pragma once
#ifdef WIN32
-#include <Windows.h>
+#include <windows.h>
#include <DbgHelp.h>
#pragma comment(lib, "DbgHelp.Lib")
#endif
diff --git a/src/error.c b/src/error.c
index 654c7a9..d49c456 100644
--- a/src/error.c
+++ b/src/error.c
@@ -151,7 +151,7 @@ size_t aes_format_error(
}
#ifdef WIN32
-#include <Windows.h>
+#include <windows.h>
static void aes_collect_call_stack(AES_ErrorDetails* err_details)
{
diff --git a/utils/decrypt_bmp.cpp b/utils/decrypt_bmp.cpp
index fc0b14a..9f9cd52 100644
--- a/utils/decrypt_bmp.cpp
+++ b/utils/decrypt_bmp.cpp
@@ -9,7 +9,7 @@
#include <aesxx/all.hpp>
-#include <Windows.h>
+#include <windows.h>
#include <boost/program_options.hpp>
diff --git a/utils/helpers/bmp.hpp b/utils/helpers/bmp.hpp
index 262198d..b4b283b 100644
--- a/utils/helpers/bmp.hpp
+++ b/utils/helpers/bmp.hpp
@@ -3,7 +3,7 @@
// For details, see https://github.com/egor-tensin/aes-tools.
// Distributed under the MIT License.
-#include <Windows.h>
+#include <windows.h>
#include <cstddef>
#include <cstring>