mirror of https://github.com/BOINC/boinc.git
- API: possible compile fix for OS/2
svn path=/trunk/boinc/; revision=17002
This commit is contained in:
parent
7c42203c0d
commit
7d1038f940
|
@ -180,6 +180,12 @@ static int setup_shared_mem() {
|
|||
delete app_client_shm;
|
||||
app_client_shm = NULL;
|
||||
}
|
||||
#else
|
||||
#ifdef __EMX__
|
||||
if (attach_shmem(aid.shmem_seg_name, (void**)&app_client_shm->shm)) {
|
||||
delete app_client_shm;
|
||||
app_client_shm = NULL;
|
||||
}
|
||||
#else
|
||||
if (aid.shmem_seg_name == -1) {
|
||||
// Version 6 Unix/Linux/Mac client
|
||||
|
@ -188,12 +194,13 @@ static int setup_shared_mem() {
|
|||
app_client_shm = NULL;
|
||||
}
|
||||
} else {
|
||||
// EMX or version 5 Unix/Linux/Mac client
|
||||
// version 5 Unix/Linux/Mac client
|
||||
if (attach_shmem(aid.shmem_seg_name, (void**)&app_client_shm->shm)) {
|
||||
delete app_client_shm;
|
||||
app_client_shm = NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif // ! _WIN32
|
||||
if (app_client_shm == NULL) return -1;
|
||||
return 0;
|
||||
|
|
|
@ -674,3 +674,9 @@ David 23 Jan 2009
|
|||
|
||||
html/user/
|
||||
apps.php
|
||||
|
||||
David 23 Jan 2009
|
||||
- API: possible compile fix for OS/2
|
||||
|
||||
api/
|
||||
boinc_api.cpp
|
||||
|
|
Loading…
Reference in New Issue