I added an include of unistd.h.
-- David
On 11-Jan-2015 8:00 AM, Nicolás Alvarez wrote:
Hello boincers,
I'm writing a CMake build system for BOINC (currently only lib and
api) and I'm having troubles on Mac. Once I added the Mac-specific
source files, I get this:
lib/procinfo_mac.cpp:48:15: error: use of undeclared identifier 'getpid'
At first I thought I was missing HAVE_UNISTD_H in my config.h, but it
appears procinfo_mac.cpp isn't including unistd.h at all, so I can't
figure out how this ever works with either autotools or Xcode... Does
this currently build for any of you?
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.