mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
add shared/ku/config.h and related changes
This commit is contained in:
parent
0650cabc47
commit
24b5d48fed
@ -35,6 +35,7 @@
|
||||
<ClInclude Include="..\..\src\dll\fuse3\library.h" />
|
||||
<ClInclude Include="..\..\src\dll\fuse\library.h" />
|
||||
<ClInclude Include="..\..\src\dll\library.h" />
|
||||
<ClInclude Include="..\..\src\shared\ku\config.h" />
|
||||
<ClInclude Include="..\..\src\shared\ku\library.h" />
|
||||
<ClInclude Include="..\..\src\shared\um\minimal.h" />
|
||||
</ItemGroup>
|
||||
|
@ -86,6 +86,9 @@
|
||||
<ClInclude Include="..\..\src\shared\ku\library.h">
|
||||
<Filter>Source\shared\ku</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\shared\ku\config.h">
|
||||
<Filter>Source\shared\ku</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\dll\library.c">
|
||||
|
@ -193,6 +193,7 @@
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\inc\winfsp\fsctl.h" />
|
||||
<ClInclude Include="..\..\opt\fsext\inc\winfsp\fsext.h" />
|
||||
<ClInclude Include="..\..\src\shared\ku\config.h" />
|
||||
<ClInclude Include="..\..\src\shared\ku\library.h" />
|
||||
<ClInclude Include="..\..\src\sys\driver.h" />
|
||||
</ItemGroup>
|
||||
|
@ -136,6 +136,9 @@
|
||||
<ClInclude Include="..\..\src\shared\ku\library.h">
|
||||
<Filter>Source\shared\ku</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\shared\ku\config.h">
|
||||
<Filter>Source\shared\ku</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\src\sys\version.rc">
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <shared/um/minimal.h>
|
||||
#include <strsafe.h>
|
||||
|
||||
#define FSP_CFG_REJECT_EARLY_IRP
|
||||
#include <shared/ku/config.h>
|
||||
|
||||
#define LIBRARY_NAME "WinFsp"
|
||||
|
||||
|
33
src/shared/ku/config.h
Normal file
33
src/shared/ku/config.h
Normal file
@ -0,0 +1,33 @@
|
||||
/**
|
||||
* @file shared/ku/config.h
|
||||
*
|
||||
* Shared kernel/user configuration. This file is to be included by the
|
||||
* FSD and DLL components ONLY!
|
||||
*
|
||||
* @copyright 2015-2020 Bill Zissimopoulos
|
||||
*/
|
||||
/*
|
||||
* This file is part of WinFsp.
|
||||
*
|
||||
* You can redistribute it and/or modify it under the terms of the GNU
|
||||
* General Public License version 3 as published by the Free Software
|
||||
* Foundation.
|
||||
*
|
||||
* Licensees holding a valid commercial license may use this software
|
||||
* in accordance with the commercial license agreement provided in
|
||||
* conjunction with the software. The terms and conditions of any such
|
||||
* commercial license agreement shall govern, supersede, and render
|
||||
* ineffective any application of the GPLv3 license to this software,
|
||||
* notwithstanding of any reference thereto in the software or
|
||||
* associated repository.
|
||||
*/
|
||||
|
||||
#ifndef WINFSP_SHARED_KU_CONFIG_H_INCLUDED
|
||||
#define WINFSP_SHARED_KU_CONFIG_H_INCLUDED
|
||||
|
||||
/*
|
||||
* Define the FSP_CFG_REJECT_EARLY_IRP macro to support the RejectIrpPriorToTransact0 flag.
|
||||
*/
|
||||
#define FSP_CFG_REJECT_EARLY_IRP
|
||||
|
||||
#endif
|
@ -33,9 +33,9 @@
|
||||
#include <winfsp/fsctl.h>
|
||||
#include <winfsp/fsext.h>
|
||||
|
||||
#define FSP_CFG_REJECT_EARLY_IRP
|
||||
#include <shared/ku/config.h>
|
||||
|
||||
/* disable warnings */
|
||||
/* disable warnings */
|
||||
#pragma warning(disable:4100) /* unreferenced formal parameter */
|
||||
#pragma warning(disable:4200) /* zero-sized array in struct/union */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user