summaryrefslogtreecommitdiffstats
path: root/src/feature.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-02-23 18:07:38 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-23 18:07:38 +0000
commit33fc4a63071c03ad46636b345a814e7e6d8f4ae0 (patch)
treefd13574895afeebf6d0a17f2bcfdd5b985a231d9 /src/feature.h
parentdd2dfb3cb00d47d2e8248c4e9d2cdf51e1574b79 (diff)
patch 8.2.4457: the GPM library can only be linked staticallyv8.2.4457
Problem: The GPM library can only be linked statically. Solution: Make it possible to load the GPM library dynamically. (Damien)
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/feature.h b/src/feature.h
index 65185a2176..9564f8e100 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -952,6 +952,12 @@
*/
#if defined(FEAT_NORMAL) && defined(HAVE_GPM)
# define FEAT_MOUSE_GPM
+/*
+ * +mouse_gpm/dyn Load libgpm dynamically.
+ */
+# ifndef DYNAMIC_GPM
+// # define DYNAMIC_GPM
+# endif
#endif
#if defined(FEAT_NORMAL) && defined(HAVE_SYSMOUSE)