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/Additions/WINNT/Graphics/Video/mp/wddm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPW8.rc

    r53784 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        0x3fL
    2727   FILEFLAGS            0x0L
     
    3636         VALUE "CompanyName",      VBOX_RC_COMPANY_NAME
    3737         VALUE "FileDescription",  "VirtualBox Video Driver for Windows 8\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",     "VBoxMPW8\0"
    4040         VALUE "LegalCopyright",   VBOX_RC_LEGAL_COPYRIGHT
    4141         VALUE "OriginalFilename", "VBoxVideoW8.sys\0"
    4242         VALUE "ProductName",      VBOX_PRODUCT " Guest Additions\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/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.rc

    r44529 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        0x3fL
    2727   FILEFLAGS            0x0L
     
    3636         VALUE "CompanyName",      VBOX_RC_COMPANY_NAME
    3737         VALUE "FileDescription",  "VirtualBox Video Driver for Windows Vista and 7\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",     "VBoxMPWddm\0"
    4040         VALUE "LegalCopyright",   VBOX_RC_LEGAL_COPYRIGHT
    4141         VALUE "OriginalFilename", "VBoxVideoWddm.sys\0"
    4242         VALUE "ProductName",      VBOX_PRODUCT " Guest Additions\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