Re: use of __STDC__ in libtool.m4 on HEAD

2001-09-23 Thread Tim Mooney
In regard to: Re: use of __STDC__ in libtool.m4 on HEAD, Gary V. Vaughan...: >> Why? Some C compilers define __STDC__ but don't define it to 1. How >> about: >> #ifdef __STDC__ > >I believe there are compilers out there that define __STDC__ to 0 >for strict K

Re: use of __STDC__ in libtool.m4 on HEAD

2001-09-22 Thread Gary V. Vaughan
On Wed, Sep 19, 2001 at 10:43:26PM -0500, [EMAIL PROTECTED] wrote: > >From libtool.m4 in HEAD branch: > > #if defined (__STDC__) && __STDC__ > # define lt_ptr_t void * > #else > # define lt_ptr_t char * > # define const > #endif > > Why? Some C compilers define __STDC__ but don't define it to 1.

use of __STDC__ in libtool.m4 on HEAD

2001-09-19 Thread libtool
>From libtool.m4 in HEAD branch: #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif Why? Some C compilers define __STDC__ but don't define it to 1. How about: #ifdef __STDC__ -- albert chin ([EMAIL PROTECTED]) ___