* PREPROCESSING : l'id differe en fonction du systeme

This commit is contained in:
glenux 2004-02-19 18:29:20 +00:00
parent 87b252bfa4
commit c02267a8e4

View file

@ -43,7 +43,11 @@ int msgSpacePoolId2nzgPoolId(msgSpacePoolId dest,msgSpacePoolId src, int num){
if (strlen(src)>MSGSPACE_ID_LEN){ if (strlen(src)>MSGSPACE_ID_LEN){
return -1; return -1;
} }
sprintf(dest,"/nzgSpacesPool%s%d",(char *)src,num); #ifdef _NZG_REALFILEID
sprintf(dest,"/tmp/nzgSpacePool%s%d",(char *)src,num);
#else
sprintf(dest,"/nzgSpacePool%s%d",(char *)src,num);
#endif
return 0; return 0;
} }