MINGW-packages/mingw-w64-hexchat/0002-fix-plugin-search.patch
2022-01-11 12:33:06 +05:30

12 lines
405 B
Diff

--- a/src/common/plugin.c
+++ b/src/common/plugin.c
@@ -483,7 +483,7 @@
lib_dir = plugin_get_libdir ();
sub_dir = g_build_filename (get_xdir (), "addons", NULL);
-#ifdef WIN32
+#ifdef _MSC_VER
/* a long list of bundled plugins that should be loaded automatically,
* user plugins should go to <config>, leave Program Files alone! */
for_files (lib_dir, "hcchecksum.dll", plugin_auto_load_cb);