[core] fix format error when trying to use old BIOS fixes with VHDs

* And other improvements
* Closes #1409
This commit is contained in:
Pete Batard 2020-07-03 15:24:37 +01:00
parent 0dc13e5283
commit 500172a7a3
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
6 changed files with 38 additions and 15 deletions

View file

@ -118,6 +118,9 @@ static __inline void *_reallocf(void *ptr, size_t size) {
#ifndef HTTP_PROTOCOL_FLAG_HTTP2
#define HTTP_PROTOCOL_FLAG_HTTP2 2
#endif
#ifndef ERROR_OFFSET_ALIGNMENT_VIOLATION
#define ERROR_OFFSET_ALIGNMENT_VIOLATION 327
#endif
/* The following is used for native ISO mounting in Windows 8 or later */
#define VIRTUAL_STORAGE_TYPE_VENDOR_MICROSOFT \