From f09596421c3fe9bbe0dd2a188cbc6663af04b811 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 11 Aug 2012 16:42:29 +0000 Subject: [PATCH] - server: compile fix svn path=/trunk/boinc/; revision=26009 --- checkin_notes | 6 ++++++ lib/synch.cpp | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index 3cbc9cf20c..d03649906b 100644 --- a/checkin_notes +++ b/checkin_notes @@ -5441,3 +5441,9 @@ David 10 Aug 2012 lib/ *.cpp + +David 10 Aug 2012 + - server: compile fix + + lib/ + synch.cpp diff --git a/lib/synch.cpp b/lib/synch.cpp index c27d886e2e..60124de8c1 100644 --- a/lib/synch.cpp +++ b/lib/synch.cpp @@ -18,7 +18,7 @@ // interfaces for accessing sempahores -#ifdef HAVE_SYS_SEM_H +#ifndef ANDROID #include "config.h" #include @@ -114,4 +114,4 @@ int get_key(char* path, int id, key_t& key) { return 0; } -#endif //HAVE_SYS_SEM_H +#endif