mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 04:49:02 +08:00
22 lines
693 B
Diff
22 lines
693 B
Diff
diff --git a/src/activation.c b/src/activation.c
|
|
index 4260c20..29bb2e8 100644
|
|
--- a/src/activation.c
|
|
+++ b/src/activation.c
|
|
@@ -90,6 +90,7 @@ struct idevice_activation_response_private {
|
|
int has_errors;
|
|
};
|
|
|
|
+#ifndef LIBIDEVICEACTIVATION_STATIC // disable dll constructor
|
|
|
|
static void internal_libideviceactivation_init(void)
|
|
{
|
|
@@ -162,6 +163,8 @@ BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
|
|
#warning No compiler support for constructor/destructor attributes, some features might not be available.
|
|
#endif
|
|
|
|
+#endif // disable dll constructor
|
|
+
|
|
static int debug_level = 0;
|
|
|
|
IDEVICE_ACTIVATION_API void idevice_activation_set_debug_level(int level) {
|