projects
/
platform
/
upstream
/
xf86-video-vmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e41aef1
)
Guard modinfo section against gcc.
vmware-10_15_1
author
Philip Langdale
<philipl@fido2.homeip.net>
Tue, 11 Sep 2007 04:19:38 +0000
(21:19 -0700)
committer
Philip Langdale
<philipl@fido2.homeip.net>
Tue, 11 Sep 2007 04:19:38 +0000
(21:19 -0700)
src/vmware.c
patch
|
blob
|
history
diff --git
a/src/vmware.c
b/src/vmware.c
index
3db8029
..
a8d169c
100644
(file)
--- 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" },