Просмотр исходного кода

CheckForPthreads.c: Do not use C++-style comments in C source

Marc Chevrier 10 лет назад
Родитель
Сommit
e166203f31
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Modules/CheckForPthreads.c

+ 2 - 2
Modules/CheckForPthreads.c

@@ -16,8 +16,8 @@ int main(int ac, char*av[]){
   pthread_create(&tid[0], 0, runner, (void*)1);
   pthread_create(&tid[0], 0, runner, (void*)1);
   pthread_create(&tid[1], 0, runner, (void*)2);
   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
 #endif
 
 
   pthread_join(tid[0], 0);
   pthread_join(tid[0], 0);