[PATCH] for pthread.h

Alan Hourihane alanh@fairlite.demon.co.uk
Wed May 9 00:37:00 GMT 2001


Rob,

A small patch for pthread.h when compiling code with -ansi. Obviously -ansi
doesn't like these kinds of comment fields.

Alan.

--- /tmp/pthread.h	Wed May  9 08:36:07 2001
+++ /usr/include/pthread.h	Wed May  9 08:36:19 2001
@@ -28,7 +28,7 @@
 
 /* FIXME: this should allocate a new cond variable, and return the value  that
  would normally be written to the passed parameter of pthread_cond_init(lvalue, NULL); */
-// #define PTHREAD_COND_INITIALIZER 0
+/* #define PTHREAD_COND_INITIALIZER 0 */
 
 #define PTHREAD_DESTRUCTOR_ITERATIONS 1
 /* Tls has 64 items for pre win2000 - and we don't want to use them all :]



More information about the Cygwin-xfree mailing list