[PATCH] for pthread.h

Robert Collins robert.collins@itdomain.com.au
Wed May 9 01:00:00 GMT 2001


Doh!.

// is actually c++ only in theory. Thanks!

I'll generate a changelog and send to cygwin-patches with my next set of
code changes.

Rob
----- Original Message -----
From: "Alan Hourihane" <alanh@fairlite.demon.co.uk>
To: <cygwin-xfree@cygwin.com>
Sent: Wednesday, May 09, 2001 5:38 PM
Subject: [PATCH] for pthread.h


> 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