From 63af619080b1eb1b60365644976a943fc0fcfa5c Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Fri, 21 Jul 2017 15:49:05 +0300 Subject: [PATCH] mdbx: #ifdef-guard for FILE_PROVIDER_EXTERNAL_INFO_V1. Change-Id: I4bc4eb012f7d6ea874a10abd4a2bfcfb789c4a22 --- src/osal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osal.c b/src/osal.c index d7547370..71e67868 100644 --- a/src/osal.c +++ b/src/osal.c @@ -112,11 +112,13 @@ typedef struct _IO_STATUS_BLOCK { ULONG_PTR Information; } IO_STATUS_BLOCK, *PIO_STATUS_BLOCK; +#ifndef FILE_PROVIDER_CURRENT_VERSION typedef struct _FILE_PROVIDER_EXTERNAL_INFO_V1 { ULONG Version; ULONG Algorithm; ULONG Flags; } FILE_PROVIDER_EXTERNAL_INFO_V1, *PFILE_PROVIDER_EXTERNAL_INFO_V1; +#endif #ifndef STATUS_OBJECT_NOT_EXTERNALLY_BACKED #define STATUS_OBJECT_NOT_EXTERNALLY_BACKED ((NTSTATUS)0xC000046DL)