VirtualBox

Ignore:
Timestamp:
Mar 23, 2007 10:59:12 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19799
Message:

make VBOX_VERSION visible with modinfo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r1563 r1666  
    2323*******************************************************************************/
    2424#include "SUPDRV.h"
     25#include "version-generated.h"
     26
    2527#include <iprt/assert.h>
    2628#include <iprt/spinlock.h>
     
    17091711MODULE_DESCRIPTION("VirtualBox Support Driver");
    17101712MODULE_LICENSE("GPL");
    1711 
     1713#ifdef MODULE_VERSION
     1714#define xstr(s) str(s)
     1715#define str(s) #s
     1716MODULE_VERSION(VBOX_VERSION_STRING " (" xstr(SUPDRVIOC_VERSION) ")");
     1717#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette