diff options
author | Philip Langdale <philipl@fido2.homeip.net> | 2007-09-10 21:19:38 -0700 |
---|---|---|
committer | Philip Langdale <philipl@fido2.homeip.net> | 2007-09-10 21:19:38 -0700 |
commit | cfdb0140fa53155ae134ba961ec7d593d5d94713 (patch) | |
tree | 531e9bf631685f5f8d87dbb628c53d968c2c7950 /src | |
parent | e41aef1fb187c1b450fbea0163eb16e0c40f0435 (diff) |
Guard modinfo section against gcc.vmware-10_15_1
Diffstat (limited to 'src')
-rw-r--r-- | src/vmware.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vmware.c b/src/vmware.c index 3db8029..a8d169c 100644 --- a/src/vmware.c +++ b/src/vmware.c @@ -98,8 +98,10 @@ static const char VMWAREBuildStr[] = "VMware Guest X Server " * 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=" VMWARE_DRIVER_VERSION_STRING ".0"; +#endif static SymTabRec VMWAREChipsets[] = { { PCI_CHIP_VMWARE0405, "vmware0405" }, |