mirror of
https://github.com/X11Libre/xf86-input-vmmouse.git
synced 2026-03-24 01:34:05 +00:00
Guard modinfo section against gcc.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user