From fa52b6489afd62c39a2049425a9cb2e5c7ca97bd Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Tue, 30 Sep 2014 18:25:38 +0200 Subject: [PATCH] Fix compilation issue introduced by e8107fe1043289664f094c7dc707a6bf6ef88b96. --- patches/Makefile | 2 +- ...dd-tests-for-FIND_FIRST_EX_CASE_SENS.patch | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/patches/Makefile b/patches/Makefile index 06dbe080..c1592581 100644 --- a/patches/Makefile +++ b/patches/Makefile @@ -386,7 +386,7 @@ iphlpapi-TCP_Table.ok: # | * Add tests for FIND_FIRST_EX_CASE_SENSITIVE flag in FindFirstFileExW. [by Sebastian Lackner] # | # | Modified files: -# | * dlls/kernel32/tests/file.c +# | * dlls/kernel32/tests/file.c, include/winbase.h # | .INTERMEDIATE: kernel32-FindFirstFile.ok kernel32-FindFirstFile.ok: diff --git a/patches/kernel32-FindFirstFile/0001-kernel32-tests-Add-tests-for-FIND_FIRST_EX_CASE_SENS.patch b/patches/kernel32-FindFirstFile/0001-kernel32-tests-Add-tests-for-FIND_FIRST_EX_CASE_SENS.patch index 0db4f956..4541e3be 100644 --- a/patches/kernel32-FindFirstFile/0001-kernel32-tests-Add-tests-for-FIND_FIRST_EX_CASE_SENS.patch +++ b/patches/kernel32-FindFirstFile/0001-kernel32-tests-Add-tests-for-FIND_FIRST_EX_CASE_SENS.patch @@ -1,4 +1,4 @@ -From 5c46447e0d8042755e05574ee234a2c9d50aa128 Mon Sep 17 00:00:00 2001 +From 67d1f14b0f36270e245cdef779d1c409c094a6af Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Thu, 25 Sep 2014 03:08:19 +0200 Subject: kernel32/tests: Add tests for FIND_FIRST_EX_CASE_SENSITIVE flag in @@ -6,7 +6,8 @@ Subject: kernel32/tests: Add tests for FIND_FIRST_EX_CASE_SENSITIVE flag in --- dlls/kernel32/tests/file.c | 36 ++++++++++++++++++++++++------------ - 1 file changed, 24 insertions(+), 12 deletions(-) + include/winbase.h | 3 +++ + 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/dlls/kernel32/tests/file.c b/dlls/kernel32/tests/file.c index ddfa019..e6f96d4 100644 @@ -86,6 +87,20 @@ index ddfa019..e6f96d4 100644 test_LockFile(); test_file_sharing(); test_offset_in_overlapped_structure(); +diff --git a/include/winbase.h b/include/winbase.h +index dd5e816..edd6ad6 100644 +--- a/include/winbase.h ++++ b/include/winbase.h +@@ -289,6 +289,9 @@ typedef enum _FINDEX_INFO_LEVELS + FindExInfoMaxInfoLevel + } FINDEX_INFO_LEVELS; + ++#define FIND_FIRST_EX_CASE_SENSITIVE 1 ++#define FIND_FIRST_EX_LARGE_FETCH 2 ++ + typedef enum _FINDEX_SEARCH_OPS + { + FindExSearchNameMatch, -- 2.1.1