* Sync with Wine 1.7.17.
CORE-8080
svn path=/trunk/; revision=63071
add_executable(pdh_winetest pdh.c testlist.c)
set_module_type(pdh_winetest win32cui)
-add_importlibs(pdh_winetest pdh msvcrt kernel32 ntdll)
+add_importlibs(pdh_winetest pdh msvcrt kernel32)
+if(MSVC)
+ add_importlibs(pdh_winetest ntdll)
+endif()
add_cd_file(TARGET pdh_winetest DESTINATION reactos/bin FOR all)
static void init_function_ptrs( void )
{
- pdh = GetModuleHandle( "pdh" );
+ pdh = GetModuleHandleA( "pdh" );
GETFUNCPTR( PdhAddEnglishCounterA )
GETFUNCPTR( PdhAddEnglishCounterW )
GETFUNCPTR( PdhCollectQueryDataWithTime )