From be527848498cdcaf1605a58c9171f590588527b9 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 10 Jun 2006 05:36:25 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=10296 --- client/client_state.C | 2 ++ client/client_state.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/client/client_state.C b/client/client_state.C index 75cddc3a58..b8b27c74e9 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -300,11 +300,13 @@ int CLIENT_STATE::init() { } } +#ifndef _WIN32 #ifdef SANDBOX retval = lookup_group(BOINC_PROJECT_GROUP_NAME, boinc_project_gid); if (retval) return retval; #else boinc_project_gid = 0; +#endif #endif return 0; diff --git a/client/client_state.h b/client/client_state.h index fe48cc468c..3d8ef9a7b7 100644 --- a/client/client_state.h +++ b/client/client_state.h @@ -129,7 +129,9 @@ public: char attach_project_auth[256]; bool exit_before_upload; // exit when about to upload a file +#ifndef _WIN32 gid_t boinc_project_gid; +#endif // backoff-related variables //