mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
kernel32-SetFileInformationByHandle: Fix compile error.
This commit is contained in:
parent
945ec28ec8
commit
2b90f82b6a
1
patches/kernel32-InsertMode/definition
Normal file
1
patches/kernel32-InsertMode/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: Ensure console InsertMode changes take effect immediately
|
@ -0,0 +1,27 @@
|
||||
From 1866952edae5d4adabfc2fc32c2bde930af8cbe3 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Tue, 9 Jun 2015 06:14:49 +0200
|
||||
Subject: include: Fix definition of FILE_DISPOSITION_INFO.
|
||||
|
||||
A member called DeleteFile cannot be accessed because its defined as
|
||||
DeleteFile_must_be_suffixed_with_W_or_A_in_this_context.
|
||||
---
|
||||
include/winbase.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/winbase.h b/include/winbase.h
|
||||
index 4795d87..44ecc92 100644
|
||||
--- a/include/winbase.h
|
||||
+++ b/include/winbase.h
|
||||
@@ -860,7 +860,7 @@ typedef struct _FILE_ALLOCATION_INFO {
|
||||
} FILE_ALLOCATION_INFO, *PFILE_ALLOCATION_INFO;
|
||||
|
||||
typedef struct _FILE_DISPOSITION_INFO {
|
||||
- BOOLEAN DeleteFile;
|
||||
+ BOOLEAN DoDeleteFile;
|
||||
} FILE_DISPOSITION_INFO, *PFILE_DISPOSITION_INFO;
|
||||
|
||||
typedef struct _FILE_END_OF_FILE_INFO {
|
||||
--
|
||||
2.4.2
|
||||
|
@ -3018,9 +3018,11 @@ fi
|
||||
# | * dlls/kernel32/file.c, include/winbase.h
|
||||
# |
|
||||
if test "$enable_kernel32_SetFileInformationByHandle" -eq 1; then
|
||||
patch_apply kernel32-SetFileInformationByHandle/0001-include-Declare-a-couple-more-file-information-class.patch
|
||||
patch_apply kernel32-SetFileInformationByHandle/0002-kernel32-Implement-SetFileInformationByHandle.patch
|
||||
patch_apply kernel32-SetFileInformationByHandle/0001-include-Fix-definition-of-FILE_DISPOSITION_INFO.patch
|
||||
patch_apply kernel32-SetFileInformationByHandle/0002-include-Declare-a-couple-more-file-information-class.patch
|
||||
patch_apply kernel32-SetFileInformationByHandle/0003-kernel32-Implement-SetFileInformationByHandle.patch
|
||||
(
|
||||
echo '+ { "Sebastian Lackner", "include: Fix definition of FILE_DISPOSITION_INFO.", 1 },';
|
||||
echo '+ { "Michael Müller", "include: Declare a couple more file information class structures.", 1 },';
|
||||
echo '+ { "Michael Müller", "kernel32: Implement SetFileInformationByHandle.", 1 },';
|
||||
) >> "$patchlist"
|
||||
|
Loading…
x
Reference in New Issue
Block a user