Module: wine Branch: master Commit: 71c27c99d44d4f1285166c29b113e723690f1100 URL: http://source.winehq.org/git/wine.git/?a=commit;h=71c27c99d44d4f1285166c29b1...
Author: Detlef Riekenberg wine.dev@web.de Date: Wed Feb 4 23:28:30 2009 +0100
localspl: Enable environment "Windows x64" for Win64.
---
dlls/localspl/localspl_main.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/localspl/localspl_main.c b/dlls/localspl/localspl_main.c index 7137d97..18b51ac 100644 --- a/dlls/localspl/localspl_main.c +++ b/dlls/localspl/localspl_main.c @@ -129,6 +129,8 @@ static const WCHAR win40_subdirW[] = {'w','i','n','4','0',0}; static const WCHAR version0_regpathW[] = {'\','V','e','r','s','i','o','n','-','0',0}; static const WCHAR version0_subdirW[] = {'\','0',0};
+static const WCHAR x64_envnameW[] = {'W','i','n','d','o','w','s',' ','x','6','4',0}; +static const WCHAR x64_subdirW[] = {'x','6','4',0}; static const WCHAR x86_envnameW[] = {'W','i','n','d','o','w','s',' ','N','T',' ','x','8','6',0}; static const WCHAR x86_subdirW[] = {'w','3','2','x','8','6',0}; static const WCHAR version3_regpathW[] = {'\','V','e','r','s','i','o','n','-','3',0}; @@ -138,10 +140,13 @@ static const WCHAR version3_subdirW[] = {'\','3',0}; static const printenv_t env_x86 = {x86_envnameW, x86_subdirW, 3, version3_regpathW, version3_subdirW};
+static const printenv_t env_x64 = {x64_envnameW, x64_subdirW, 3, + version3_regpathW, version3_subdirW}; + static const printenv_t env_win40 = {win40_envnameW, win40_subdirW, 0, version0_regpathW, version0_subdirW};
-static const printenv_t * const all_printenv[] = {&env_x86, &env_win40}; +static const printenv_t * const all_printenv[] = {&env_x86, &env_x64, &env_win40};
static const DWORD di_sizeof[] = {0, sizeof(DRIVER_INFO_1W), sizeof(DRIVER_INFO_2W),