Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3E3D12AA.818C8C06@phekda.freeserve.co.uk> Date: Sun, 02 Feb 2003 12:44:26 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: Eli Zaretskii CC: djgpp-workers AT delorie DOT com Subject: Re: stdio.h: vfscanf(), vscanf(), vsscanf() References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. It turns out that C89 does not define __STDC_VERSION__, so we actually need to check that it's defined first. I'm using checks like this: #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ || !defined(__STRICT_ANSI__) #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ __STDC_VERSION__ was introduced in a 1994 update to the C standard. I'll send a patch, when I've moved the C99 functions into the right places in the headers. Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]