[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: autoconf enhancement for Interix
From: |
Jerker Bäck |
Subject: |
RE: autoconf enhancement for Interix |
Date: |
Mon, 27 Aug 2007 16:28:42 +0200 |
Hello Martin,
> #define _ALL_SOURCE 1 to enable all functions in the system headers.
Are you sure this is wise?
I never understood why anyone would not have all functions available
(_ALL_SOURCE not defined), but the possibility is there for some reasons. So
accordingly, c89 do not define _ALL_SOURCE and use strict ANSI-C. cc on the
other hand define _ALL_SOURCE and use C extensions. I assume you use Interix
gcc, right? So, this concerns Interix gcc only and maybe the patch should
test for GNU extensions before define _ALL_SOURCE.
Cheers
Jerker