summaryrefslogtreecommitdiffstats
path: root/Modules/CheckForPthreads.c
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@sap.com>2015-10-26 13:17:44 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-26 17:21:59 (GMT)
commite166203f31890e5bbe2bfa19bd5eb63e7d8c3b90 (patch)
tree10eb0b9746ddba76dfde6b1ed1a15dc21b9e85ad /Modules/CheckForPthreads.c
parent3187de20fd9949ab90df4651f5d1ae0d218a9afd (diff)
downloadCMake-e166203f31890e5bbe2bfa19bd5eb63e7d8c3b90.zip
CMake-e166203f31890e5bbe2bfa19bd5eb63e7d8c3b90.tar.gz
CMake-e166203f31890e5bbe2bfa19bd5eb63e7d8c3b90.tar.bz2
CheckForPthreads.c: Do not use C++-style comments in C source
Diffstat (limited to 'Modules/CheckForPthreads.c')
-rw-r--r--Modules/CheckForPthreads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckForPthreads.c b/Modules/CheckForPthreads.c
index 2732957..344c81b 100644
--- a/Modules/CheckForPthreads.c
+++ b/Modules/CheckForPthreads.c
@@ -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);