mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 06:19:00 +08:00
b466bd598e
* [pthreads] support ARM/UWP * arm: enable macro __PTW32_PROGCTR * uwp: LINK option /APPCONTAINER * uwp: link with 'kernel32', 'windowsapp' * [pthreads] update baseline and port SHA * [pthreads] extract changes to patch * [pthreads] remove pthreads from ci.baseline.txt * [pthreads] separate uwp patch * update ci.baseline.txt for arm/arm64 * [pthreads] unify patch list * update ci.baseline.txt
18 lines
518 B
Diff
18 lines
518 B
Diff
diff --git a/implement.h b/implement.h
|
|
index 1579376..3a7d29b 100644
|
|
--- a/implement.h
|
|
+++ b/implement.h
|
|
@@ -36,6 +36,12 @@
|
|
#if !defined(_IMPLEMENT_H)
|
|
#define _IMPLEMENT_H
|
|
|
|
+#if 1 // The condition should be `defined(__cplusplus_winrt)` when compile option is provided correctly.
|
|
+// porvide 2 static libs to resolve link error. 'kernel32' and 'windowsapp'
|
|
+#pragma comment(lib, "kernel32")
|
|
+#pragma comment(lib, "WindowsApp")
|
|
+#endif
|
|
+
|
|
#if !defined (__PTW32_CONFIG_H)
|
|
# error "config.h was not #included"
|
|
#endif
|