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