]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utils.cpp
Build fix for WinCE.
[wxWidgets.git] / src / msw / utils.cpp
index 977ae5d5c39f29e5baeea2c28bf3a710c2b2be8b..567034d027674dfc5cd3155dfb68dc3ec5d38fd5 100644 (file)
@@ -825,6 +825,8 @@ static void InitToolHelp32()
     lpfProcess32First = NULL;
     lpfProcess32Next = NULL;
 
+#if wxUSE_DYNLIB_CLASS
+
     wxDynamicLibrary dllKernel(_T("kernel32.dll"), wxDL_VERBATIM);
 
     // Get procedure addresses.
@@ -841,6 +843,8 @@ static void InitToolHelp32()
 
     lpfProcess32Next =
         (Process32_t)dllKernel.RawGetSymbol(_T("Process32Next"));
+
+#endif // wxUSE_DYNLIB_CLASS
 }
 
 // By John Skiff