From 46e795269e0a04948779da84741078b8b49bec11 Mon Sep 17 00:00:00 2001
From: Martin Storsjo <martin@martin.st>
Date: Mon, 1 Dec 2014 12:27:10 +0200
Subject: [PATCH] api-ms-win-core-fibers-l1-1-1: Add stub dll.

---
 configure                                                    | 2 ++
 configure.ac                                                 | 1 +
 dlls/api-ms-win-core-fibers-l1-1-1/Makefile.in               | 1 +
 .../api-ms-win-core-fibers-l1-1-1.spec                       | 5 +++++
 tools/make_specfiles                                         | 1 +
 5 files changed, 10 insertions(+)
 create mode 100644 dlls/api-ms-win-core-fibers-l1-1-1/Makefile.in
 create mode 100644 dlls/api-ms-win-core-fibers-l1-1-1/api-ms-win-core-fibers-l1-1-1.spec

diff --git a/configure b/configure
index c291a433b61..5de7cd5e204 100755
--- a/configure
+++ b/configure
@@ -857,6 +857,7 @@ enable_api_ms_win_core_com_l1_1_0
 enable_api_ms_win_core_console_l1_1_0
 enable_api_ms_win_core_debug_l1_1_1
 enable_api_ms_win_core_errorhandling_l1_1_1
+enable_api_ms_win_core_fibers_l1_1_1
 enable_api_ms_win_core_file_l1_2_0
 enable_api_ms_win_core_file_l2_1_1
 enable_api_ms_win_core_handle_l1_1_0
@@ -16775,6 +16776,7 @@ wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
+wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
diff --git a/configure.ac b/configure.ac
index 8f8a732c55b..ce52430325b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2649,6 +2649,7 @@ WINE_CONFIG_DLL(api-ms-win-core-com-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-console-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-debug-l1-1-1)
 WINE_CONFIG_DLL(api-ms-win-core-errorhandling-l1-1-1)
+WINE_CONFIG_DLL(api-ms-win-core-fibers-l1-1-1)
 WINE_CONFIG_DLL(api-ms-win-core-file-l1-2-0)
 WINE_CONFIG_DLL(api-ms-win-core-file-l2-1-1)
 WINE_CONFIG_DLL(api-ms-win-core-handle-l1-1-0)
diff --git a/dlls/api-ms-win-core-fibers-l1-1-1/Makefile.in b/dlls/api-ms-win-core-fibers-l1-1-1/Makefile.in
new file mode 100644
index 00000000000..98b788053ee
--- /dev/null
+++ b/dlls/api-ms-win-core-fibers-l1-1-1/Makefile.in
@@ -0,0 +1 @@
+MODULE    = api-ms-win-core-fibers-l1-1-1.dll
diff --git a/dlls/api-ms-win-core-fibers-l1-1-1/api-ms-win-core-fibers-l1-1-1.spec b/dlls/api-ms-win-core-fibers-l1-1-1/api-ms-win-core-fibers-l1-1-1.spec
new file mode 100644
index 00000000000..494754300e4
--- /dev/null
+++ b/dlls/api-ms-win-core-fibers-l1-1-1/api-ms-win-core-fibers-l1-1-1.spec
@@ -0,0 +1,5 @@
+@ stdcall FlsAlloc(ptr) kernel32.FlsAlloc
+@ stdcall FlsFree(long) kernel32.FlsFree
+@ stdcall FlsGetValue(long) kernel32.FlsGetValue
+@ stdcall FlsSetValue(long ptr) kernel32.FlsSetValue
+@ stdcall IsThreadAFiber() kernel32.IsThreadAFiber
diff --git a/tools/make_specfiles b/tools/make_specfiles
index 411f65e9604..e67b129c257 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -159,6 +159,7 @@ my @dll_groups =
   "api-ms-win-core-file-l2-1-1",
   "api-ms-win-core-sysinfo-l1-2-1",
   "api-ms-win-core-processthreads-l1-1-2",
+  "api-ms-win-core-fibers-l1-1-1",
  ],
  [
   "ole32",
-- 
GitLab