mirror of https://github.com/BOINC/boinc.git
- Win compile fixes.
For now, include psapi.lib in various project properties. Try to figure out a different way. svn path=/trunk/boinc/; revision=26149
This commit is contained in:
parent
7d40c46923
commit
76282d0a20
|
@ -387,7 +387,7 @@ static bool client_dead() {
|
|||
// Windows doesn't have waitpid() :-(
|
||||
//
|
||||
DWORD pids[4096], nb;
|
||||
BOOL r = EnumProcesses(pids, sizeof(pids), nb);
|
||||
BOOL r = EnumProcesses(pids, sizeof(pids), &nb);
|
||||
if (!r) return false;
|
||||
int n = nb/sizeof(DWORD);
|
||||
for (int i=0; i<n; i++) {
|
||||
|
|
|
@ -6129,3 +6129,17 @@ David 11 Oct 2012
|
|||
lib/
|
||||
app_ipc.cpp,h
|
||||
proc_control.cpp
|
||||
|
||||
David 11 Oct 2012
|
||||
- Win compile fixes.
|
||||
For now, include psapi.lib in various project properties.
|
||||
Try to figure out a different way.
|
||||
|
||||
api/
|
||||
boinc_api.cpp
|
||||
client/
|
||||
app_start.cpp
|
||||
lib/
|
||||
boinc_win.h
|
||||
win_build/
|
||||
various .proj files
|
||||
|
|
|
@ -219,7 +219,7 @@ void ACTIVE_TASK::init_app_init_data(APP_INIT_DATA& aid) {
|
|||
strcpy(aid.authenticator, wup->project->authenticator);
|
||||
aid.slot = slot;
|
||||
#ifdef _WIN32
|
||||
if (strstr(gstate.hostinfo.os_name, "Windows 2000")) {
|
||||
if (strstr(gstate.host_info.os_name, "Windows 2000")) {
|
||||
// Win2K immediately reuses PIDs, so can't use this mechanism
|
||||
//
|
||||
aid.client_pid = 0;
|
||||
|
|
|
@ -96,6 +96,7 @@
|
|||
#include <shlobj.h>
|
||||
#include <userenv.h>
|
||||
#include <aclapi.h>
|
||||
#include <psapi.h>
|
||||
#include <iphlpapi.h>
|
||||
|
||||
#if !defined(__CYGWIN32__) || defined(USE_WINSOCK)
|
||||
|
|
|
@ -287,7 +287,7 @@
|
|||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib gdi32.lib opengl32.lib glu32.lib ole32.lib delayimp.lib wsock32.lib advapi32.lib freetype2410_D.lib ftgl_static_D.lib $(NOINHERIT)"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib gdi32.lib opengl32.lib glu32.lib ole32.lib delayimp.lib wsock32.lib advapi32.lib freetype2410_D.lib ftgl_static_D.lib psapi.lib $(NOINHERIT)"
|
||||
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boincscr.exe"
|
||||
LinkIncremental="0"
|
||||
SuppressStartupBanner="true"
|
||||
|
|
|
@ -279,7 +279,7 @@
|
|||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib ole32.lib delayimp.lib"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib ole32.lib delayimp.lib psapi.lib"
|
||||
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\multi_thread_6.1_windows_intelx86.exe"
|
||||
LinkIncremental="0"
|
||||
SuppressStartupBanner="true"
|
||||
|
|
|
@ -278,7 +278,7 @@
|
|||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib gdi32.lib opengl32.lib glu32.lib ole32.lib"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib gdi32.lib opengl32.lib psapi.lib glu32.lib ole32.lib"
|
||||
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\sleeper_6.1_windows_intelx86.exe"
|
||||
LinkIncremental="0"
|
||||
SuppressStartupBanner="true"
|
||||
|
|
|
@ -278,7 +278,7 @@
|
|||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib ole32.lib delayimp.lib"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib ole32.lib delayimp.lib psapi.lib"
|
||||
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\$(ProjectName).exe"
|
||||
LinkIncremental="0"
|
||||
SuppressStartupBanner="true"
|
||||
|
|
|
@ -283,7 +283,7 @@
|
|||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib gdi32.lib opengl32.lib glu32.lib ole32.lib delayimp.lib freetype2410_D.lib ftgl_static_D.lib"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib gdi32.lib opengl32.lib psapi.lib glu32.lib ole32.lib delayimp.lib freetype2410_D.lib ftgl_static_D.lib"
|
||||
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\$(ProjectName).exe"
|
||||
LinkIncremental="0"
|
||||
SuppressStartupBanner="true"
|
||||
|
|
|
@ -278,7 +278,7 @@
|
|||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib gdi32.lib ole32.lib wsock32.lib"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib gdi32.lib ole32.lib psapi.lib wsock32.lib"
|
||||
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_6.1_windows_intelx86.exe"
|
||||
LinkIncremental="0"
|
||||
SuppressStartupBanner="true"
|
||||
|
|
|
@ -278,7 +278,7 @@
|
|||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib gdi32.lib ole32.lib"
|
||||
AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib gdi32.lib ole32.lib psapi.lib"
|
||||
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\wrapper_6.1_windows_intelx86.exe"
|
||||
LinkIncremental="0"
|
||||
SuppressStartupBanner="true"
|
||||
|
|
Loading…
Reference in New Issue