mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
qga/vss-win32: check old VSS SDK headers
The VssCoordinator & VssAdmin interfaces have been moved to vsadmin.h in the Windows SDK. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220222194008.610377-3-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
32478cb6ed
commit
872b69e690
4 changed files with 13 additions and 1 deletions
|
@ -1954,12 +1954,15 @@ config_host_data.set('CONFIG_AF_VSOCK', cc.compiles(gnu_source_prefix + '''
|
|||
}'''))
|
||||
|
||||
have_vss = false
|
||||
have_vss_sdk = false # old xp/2003 SDK
|
||||
if targetos == 'windows' and link_language == 'cpp'
|
||||
have_vss = cxx.compiles('''
|
||||
#define __MIDL_user_allocate_free_DEFINED__
|
||||
#include <vss.h>
|
||||
int main(void) { return VSS_CTX_BACKUP; }''')
|
||||
have_vss_sdk = cxx.has_header('vscoordint.h')
|
||||
endif
|
||||
config_host_data.set('HAVE_VSS_SDK', have_vss_sdk)
|
||||
|
||||
have_ntddscsi = false
|
||||
if targetos == 'windows'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue