mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 02:39:48 -06:00
CheckForPthreads.c: Do not use C++-style comments in C source
This commit is contained in:
@@ -16,8 +16,8 @@ int main(int ac, char*av[]){
|
||||
pthread_create(&tid[0], 0, runner, (void*)1);
|
||||
pthread_create(&tid[1], 0, runner, (void*)2);
|
||||
|
||||
#if defined(__BEOS__) && !defined(__ZETA__) // (no usleep on BeOS 5.)
|
||||
usleep(1); // for strange behavior on single-processor sun
|
||||
#if defined(__BEOS__) && !defined(__ZETA__) /* (no usleep on BeOS 5.) */
|
||||
usleep(1); /* for strange behavior on single-processor sun */
|
||||
#endif
|
||||
|
||||
pthread_join(tid[0], 0);
|
||||
|
||||
Reference in New Issue
Block a user