]> git.ipfire.org Git - thirdparty/libarchive.git/commit
windows: include archive_platform.h first in blake2s sources 1670/head
authorBrad King <brad.king@kitware.com>
Wed, 16 Feb 2022 12:31:56 +0000 (07:31 -0500)
committerBrad King <brad.king@kitware.com>
Wed, 16 Feb 2022 12:32:57 +0000 (07:32 -0500)
commit14b851936d4f12f53f56974f58aadbf3f4e61e5f
treec1a85b4a9ace57f01728b9126cc9e549dc8148bd
parent9147def1da7ad1bdd47b3559eb1bfeeb0e0f374b
windows: include archive_platform.h first in blake2s sources

Move the inclusion added by commit 90978db1 (windows: make sure we use
the right calling convention for libc, 2021-10-13, v3.6.0~39^2~1) to be
first.  This is our convention in all other `.c` sources.  It ensures
that our configured `_WIN32_WINNT` value is defined before including any
system headers.
libarchive/archive_blake2s_ref.c
libarchive/archive_blake2sp_ref.c