From 4510858d9b096c9cadf6424dd79e825dd4e45058 Mon Sep 17 00:00:00 2001 From: abbotti Date: Fri, 12 Apr 2002 09:14:30 -0700 Subject: [PATCH] [svn] Account for Borland not defining __STDC__ when Borland's extensions are enabled and define it anyway. --- ChangeLog | 5 +++++ windows/config.h.bor | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index dd6d69ca..150e36a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-04-12 Ian Abbott + + * windows/config.h.bor: Account for Borland not defining `__STDC__' + when Borland's extensions enabled, and define it anyway. + 2002-04-12 Hrvoje Niksic * configure.in: Check for . Check for sigsetjmp and diff --git a/windows/config.h.bor b/windows/config.h.bor index 18ade4c8..69ac6c73 100644 --- a/windows/config.h.bor +++ b/windows/config.h.bor @@ -19,6 +19,12 @@ #ifndef CONFIG_H #define CONFIG_H +/* Borland C does not define __STDC__ when the Borland extensions are + enabled, but you need those extensions to compile . */ +#if !defined(__STDC__) && defined(__BORLANDC__) +# define __STDC__ 1 +#endif + #define HAVE_MEMMOVE #define ftruncate chsize #define inline __inline -- 2.39.2