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/disp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.rc

    r36867 r55771  
    2323
    2424VS_VERSION_INFO VERSIONINFO
    25    FILEVERSION          VBOX_VERSION_MAJOR_NR,VBOX_VERSION_MINOR_NR,VBOX_VERSION_BUILD_NR,0
    26    PRODUCTVERSION       VBOX_VERSION_MAJOR_NR,VBOX_VERSION_MINOR_NR,VBOX_VERSION_BUILD_NR,0
     25   FILEVERSION      VBOX_RC_FILE_VERSION
     26   PRODUCTVERSION   VBOX_RC_FILE_VERSION
    2727   FILEFLAGSMASK        0x3fL
    2828   FILEFLAGS            0x0L
     
    3838         VALUE "CompanyName",      VBOX_RC_COMPANY_NAME
    3939         VALUE "FileDescription",  "VirtualBox Video Usermode D3D 64bit Driver\0"
    40          VALUE "FileVersion",      VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD "." VBOX_SVN_REV "\0"
     40         VALUE "FileVersion",      VBOX_RC_FILE_VERSION_STR
    4141         VALUE "InternalName",     "VBoxDispD3D\0"
    4242         VALUE "LegalCopyright",   VBOX_RC_LEGAL_COPYRIGHT
    4343         VALUE "OriginalFilename", "VBoxDispD3D.dll\0"
    4444         VALUE "ProductName",      VBOX_PRODUCT " Guest Additions\0"
    45          VALUE "ProductVersion",   VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD ".r" VBOX_SVN_REV "\0"
     45         VALUE "ProductVersion",   VBOX_RC_PRODUCT_VERSION_STR
    4646#else
    4747         VALUE "CompanyName",      VBOX_RC_COMPANY_NAME
    4848         VALUE "FileDescription",  "VirtualBox Video Usermode D3D Driver\0"
    49          VALUE "FileVersion",      VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD "." VBOX_SVN_REV "\0"
     49         VALUE "FileVersion",      VBOX_RC_FILE_VERSION_STR
    5050         VALUE "InternalName",     "VBoxDispD3D\0"
    5151         VALUE "LegalCopyright",   VBOX_RC_LEGAL_COPYRIGHT
     
    5656#endif
    5757         VALUE "ProductName",      VBOX_PRODUCT " Guest Additions\0"
    58          VALUE "ProductVersion",   VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD ".r" VBOX_SVN_REV "\0"
     58         VALUE "ProductVersion",   VBOX_RC_PRODUCT_VERSION_STR
    5959#endif
    6060      END
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDisp.rc

    r53784 r55771  
    2323
    2424VS_VERSION_INFO VERSIONINFO
    25    FILEVERSION          VBOX_VERSION_MAJOR_NR,VBOX_VERSION_MINOR_NR,VBOX_VERSION_BUILD_NR,0
    26    PRODUCTVERSION       VBOX_VERSION_MAJOR_NR,VBOX_VERSION_MINOR_NR,VBOX_VERSION_BUILD_NR,0
     25   FILEVERSION      VBOX_RC_FILE_VERSION
     26   PRODUCTVERSION   VBOX_RC_FILE_VERSION
    2727   FILEFLAGSMASK        0x3fL
    2828   FILEFLAGS            0x0L
     
    3737         VALUE "CompanyName",      VBOX_RC_COMPANY_NAME
    3838         VALUE "FileDescription",  "VirtualBox Display Driver\0"
    39          VALUE "FileVersion",      VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD "." VBOX_SVN_REV "\0"
     39         VALUE "FileVersion",      VBOX_RC_FILE_VERSION_STR
    4040         VALUE "InternalName",     "VBoxDisp\0"
    4141         VALUE "LegalCopyright",   VBOX_RC_LEGAL_COPYRIGHT
    4242         VALUE "OriginalFilename", "VBoxDisp.dll\0"
    4343         VALUE "ProductName",      VBOX_PRODUCT " Guest Additions\0"
    44          VALUE "ProductVersion",   VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD ".r" VBOX_SVN_REV "\0"
     44         VALUE "ProductVersion",   VBOX_RC_PRODUCT_VERSION_STR
    4545      END
    4646   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