diff --git a/CMakeLists.txt b/CMakeLists.txt index 38013b5..9afa7ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,7 @@ add_library(solanaceae_sha1_ngcft1 ) target_include_directories(solanaceae_sha1_ngcft1 PUBLIC .) target_compile_features(solanaceae_sha1_ngcft1 PUBLIC cxx_std_17) +target_compile_definitions(solanaceae_sha1_ngcft1 PRIVATE WIN32_LEAN_AND_MEAN NOMINMAX) target_link_libraries(solanaceae_sha1_ngcft1 PUBLIC solanaceae_ngcft1 sha1::sha1 diff --git a/solanaceae/ngc_ft1_sha1/sha1_ngcft1.cpp b/solanaceae/ngc_ft1_sha1/sha1_ngcft1.cpp index 8854c95..5e4624a 100644 --- a/solanaceae/ngc_ft1_sha1/sha1_ngcft1.cpp +++ b/solanaceae/ngc_ft1_sha1/sha1_ngcft1.cpp @@ -8,7 +8,6 @@ #include #include -#include "./file_rw_mapped.hpp" #include "./ft1_sha1_info.hpp" #include "./hash_utils.hpp" @@ -17,6 +16,8 @@ #include +#include "./file_rw_mapped.hpp" + #include #include #include