summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vmmouse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vmmouse.c b/src/vmmouse.c
index 10859b4..0919e3f 100644
--- a/src/vmmouse.c
+++ b/src/vmmouse.c
@@ -100,8 +100,10 @@
* As the driver's version is only {major, minor, patchlevel}, simply append an
* extra zero for the fourth digit.
*/
+#ifdef __GNUC__
const char vm_version[] __attribute__((section(".modinfo"),unused)) =
"version=" VMMOUSE_DRIVER_VERSION_STRING ".0";
+#endif
/*****************************************************************************