From: Marek P. <ma...@us...> - 2002-01-27 15:17:27
|
Update of /cvsroot/javaprofiler/library/src/commun3 In directory usw-pr-cvs1:/tmp/cvs-serv32198/src/commun3 Modified Files: semaphore.cpp Log Message: a little fix Index: semaphore.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun3/semaphore.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** semaphore.cpp 2002/01/27 14:33:24 1.4 --- semaphore.cpp 2002/01/27 15:17:24 1.5 *************** *** 55,59 **** * semaphore stays in system as long as we * start profiling again or reboot the machine ! * (or remove it manually using 'ipcrm' */ } --- 55,59 ---- * semaphore stays in system as long as we * start profiling again or reboot the machine ! * (or remove it manually using 'ipcrm') */ } *************** *** 82,93 **** #ifndef WIN32 #ifdef LINUX ! #error FIXME #else // we define semun union ourselves on solaris union { int val; ! struct semid_ds* buf; ushort_t* array; - } arg; #endif --- 82,100 ---- #ifndef WIN32 #ifdef LINUX ! // we define semun union ourselves on linux ! union { ! ! int val; ! semid_ds* buf; ! unsigned short int* array; ! seminfo* __buf; ! } arg; #else // we define semun union ourselves on solaris union { + int val; ! semid_ds* buf; ushort_t* array; } arg; #endif |