Author: hbelusca Date: Mon Jan 16 22:34:22 2017 New Revision: 73564
URL: http://svn.reactos.org/svn/reactos?rev=73564&view=rev Log: [SHLWAPI]: Follow-up on r73527 and r73529: Use WINVER conditional to separate old-Win2k3 and new-Vista+ behaviours of PathIsUNCA/W. CORE-12653
Modified: trunk/reactos/dll/win32/shlwapi/path.c
Modified: trunk/reactos/dll/win32/shlwapi/path.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shlwapi/path.c?re... ============================================================================== --- trunk/reactos/dll/win32/shlwapi/path.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shlwapi/path.c [iso-8859-1] Mon Jan 16 22:34:22 2017 @@ -2202,7 +2202,7 @@ * considered UNC, while on Windows Vista+ this is not the case anymore. */ // #ifdef __REACTOS__ -#if 0 +#if (WINVER >= _WIN32_WINNT_VISTA) if (lpszPath && (lpszPath[0]=='\') && (lpszPath[1]=='\') && (lpszPath[2]!='?')) #else if (lpszPath && (lpszPath[0]=='\') && (lpszPath[1]=='\')) @@ -2225,7 +2225,7 @@ * considered UNC, while on Windows Vista+ this is not the case anymore. */ // #ifdef __REACTOS__ -#if 0 +#if (WINVER >= _WIN32_WINNT_VISTA) if (lpszPath && (lpszPath[0]=='\') && (lpszPath[1]=='\') && (lpszPath[2]!='?')) #else if (lpszPath && (lpszPath[0]=='\') && (lpszPath[1]=='\'))