mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 03:59:03 +08:00
16fc24d042
* [libplist & libusbmuxd & libimobiledevice] Support build on macos & linux * update version database
23 lines
478 B
Diff
23 lines
478 B
Diff
diff --git a/src/plist.c b/src/plist.c
|
|
index 57f0be4..cbe10ad 100644
|
|
--- a/src/plist.c
|
|
+++ b/src/plist.c
|
|
@@ -62,6 +62,8 @@ static void internal_plist_deinit(void)
|
|
plist_xml_deinit();
|
|
}
|
|
|
|
+#ifndef LIBPLIST_STATIC_LIBRARY
|
|
+
|
|
#ifdef WIN32
|
|
|
|
typedef volatile struct {
|
|
@@ -116,6 +118,8 @@ static void __attribute__((destructor)) libplist_deinitialize(void)
|
|
|
|
#endif
|
|
|
|
+#endif
|
|
+
|
|
#ifndef HAVE_MEMMEM
|
|
// see https://sourceware.org/legacy-ml/libc-alpha/2007-12/msg00000.html
|
|
|