VirtualBox

Changeset 55771 in vbox for trunk/src/recompiler


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

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/Makefile.kmk

    r55368 r55771  
    323323        $(QUIET)$(REDIRECT) -E 'COMSPEC=$(VBOX_GOOD_COMSPEC_BS)' -- $(TOOL_MINGWW64_PREFIX)windres \
    324324            $(addprefix -I,$(INCS) $(PATH_SDK_$(VBOX_WINPSDK)_INC) $(PATH_TOOL_$(VBOX_VCC_TOOL)_INC)) \
    325             -DVBOX_VERSION_MAJOR_NR=$(VBOX_VERSION_MAJOR) \
    326             -DVBOX_VERSION_MINOR_NR=$(VBOX_VERSION_MINOR) \
    327             -DVBOX_VERSION_BUILD_NR=$(VBOX_VERSION_BUILD) \
    328             -DVBOX_SVN_REV_NR=$(VBOX_SVN_REV) $< $@
     325            -DVBOX_SVN_REV=$(VBOX_SVN_REV) -DIN_RING3 $< $@
    329326
    330327#
  • trunk/src/recompiler/VBoxREM.rc

    r53837 r55771  
    1919#include <VBox/version.h>
    2020
    21 /* stupid windres! */
    22 #define RT_STR(x) #x
    23 #define RT_XSTR(x) RT_STR(x)
    24 
    2521LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
    2622
    2723VS_VERSION_INFO VERSIONINFO
    28   FILEVERSION      VBOX_VERSION_MAJOR_NR,VBOX_VERSION_MINOR_NR,VBOX_VERSION_BUILD_NR,0
    29   PRODUCTVERSION   VBOX_VERSION_MAJOR_NR,VBOX_VERSION_MINOR_NR,VBOX_VERSION_BUILD_NR,0
     24  FILEVERSION      VBOX_RC_FILE_VERSION
     25  PRODUCTVERSION   VBOX_RC_PRODUCT_VERSION
    3026  FILEFLAGSMASK    VS_FFI_FILEFLAGSMASK
    3127  FILEFLAGS        0x0L
     
    3834    BLOCK "040904b0" // Lang=US English, CharSet=Unicode
    3935    BEGIN
     36      VALUE "FileDescription",  "VirtualBox Recompiler\0"
     37      VALUE "InternalName",     "VBoxREM\0"
     38      VALUE "OriginalFilename", "VBoxREM.dll\0"
    4039      VALUE "CompanyName",      VBOX_RC_COMPANY_NAME
    41       VALUE "FileDescription",  "VirtualBox Recompiler\0"
    42       VALUE "FileVersion",      RT_XSTR(VBOX_VERSION_MAJOR_NR) "." RT_XSTR(VBOX_VERSION_MINOR_NR) "." RT_XSTR(VBOX_VERSION_BUILD_NR) "." RT_XSTR(VBOX_SVN_REV_NR) "\0"
    43       VALUE "InternalName",     "VBoxREM\0"
     40      VALUE "FileVersion",      VBOX_RC_FILE_VERSION_STR
    4441      VALUE "LegalCopyright",   VBOX_RC_LEGAL_COPYRIGHT
    45       VALUE "OriginalFilename", "VBoxREM.dll\0"
    4642      VALUE "ProductName",      VBOX_PRODUCT "\0"
    47       VALUE "ProductVersion",   RT_XSTR(VBOX_VERSION_MAJOR_NR) "." RT_XSTR(VBOX_VERSION_MINOR_NR) "." RT_XSTR(VBOX_VERSION_BUILD_NR) ".r" RT_XSTR(VBOX_SVN_REV_NR) "\0"
     43      VALUE "ProductVersion",   VBOX_RC_PRODUCT_VERSION_STR
    4844    END
    4945  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