VirtualBox

Ignore:
Timestamp:
May 8, 2015 8:17:50 PM (10 years ago)
Author:
vboxsync
Message:

Use defines in the RC files and make those defines compatible with what we use in C/C++ code.

Location:
trunk/src/VBox/HostDrivers/VBoxUSB/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.rc

    r53781 r55771  
    2222
    2323VS_VERSION_INFO VERSIONINFO
    24   FILEVERSION      VBOX_VERSION_MAJOR_NR,VBOX_VERSION_MINOR_NR,VBOX_VERSION_BUILD_NR,0
    25   PRODUCTVERSION   VBOX_VERSION_MAJOR_NR,VBOX_VERSION_MINOR_NR,VBOX_VERSION_BUILD_NR,0
     24  FILEVERSION      VBOX_RC_FILE_VERSION
     25  PRODUCTVERSION   VBOX_RC_FILE_VERSION
    2626  FILEFLAGSMASK    VS_FFI_FILEFLAGSMASK
    2727  FILEFLAGS        0x0L
     
    3636      VALUE "CompanyName",      VBOX_RC_COMPANY_NAME
    3737      VALUE "FileDescription",  "VirtualBox USB Driver\0"
    38       VALUE "FileVersion",      VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD "." VBOX_SVN_REV "\0"
     38      VALUE "FileVersion",      VBOX_RC_FILE_VERSION_STR
    3939      VALUE "InternalName",     "VBoxUSB\0"
    4040      VALUE "LegalCopyright",   VBOX_RC_LEGAL_COPYRIGHT
    4141      VALUE "OriginalFilename", "VBoxUSB.sys\0"
    4242      VALUE "ProductName",      VBOX_PRODUCT "\0"
    43       VALUE "ProductVersion",   VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD ".r" VBOX_SVN_REV "\0"
     43      VALUE "ProductVersion",   VBOX_RC_PRODUCT_VERSION_STR
    4444    END
    4545  END
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.rc

    r53781 r55771  
    2222
    2323VS_VERSION_INFO VERSIONINFO
    24   FILEVERSION      VBOX_VERSION_MAJOR_NR,VBOX_VERSION_MINOR_NR,VBOX_VERSION_BUILD_NR,0
    25   PRODUCTVERSION   VBOX_VERSION_MAJOR_NR,VBOX_VERSION_MINOR_NR,VBOX_VERSION_BUILD_NR,0
     24  FILEVERSION      VBOX_RC_FILE_VERSION
     25  PRODUCTVERSION   VBOX_RC_FILE_VERSION
    2626  FILEFLAGSMASK    VS_FFI_FILEFLAGSMASK
    2727  FILEFLAGS        0x0L
     
    3636      VALUE "CompanyName",      VBOX_RC_COMPANY_NAME
    3737      VALUE "FileDescription",  "VirtualBox USB Monitor Driver\0"
    38       VALUE "FileVersion",      VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD "." VBOX_SVN_REV "\0"
     38      VALUE "FileVersion",      VBOX_RC_FILE_VERSION_STR
    3939      VALUE "InternalName",     "VBoxUSBMon\0"
    4040      VALUE "LegalCopyright",   VBOX_RC_LEGAL_COPYRIGHT
    4141      VALUE "OriginalFilename", "VBoxUSBMon.sys\0"
    4242      VALUE "ProductName",      VBOX_PRODUCT "\0"
    43       VALUE "ProductVersion",   VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD ".r" VBOX_SVN_REV "\0"
     43      VALUE "ProductVersion",   VBOX_RC_PRODUCT_VERSION_STR
    4444    END
    4545  END
Note: See TracChangeset for help on using the changeset viewer.

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