]> sjero.net Git - wget/commitdiff
[svn] Account for Borland not defining __STDC__ when Borland's extensions are
authorabbotti <devnull@localhost>
Fri, 12 Apr 2002 16:14:30 +0000 (09:14 -0700)
committerabbotti <devnull@localhost>
Fri, 12 Apr 2002 16:14:30 +0000 (09:14 -0700)
enabled and define it anyway.

ChangeLog
windows/config.h.bor

index dd6d69ca5e7229ef00e09af03fe9613d096d411f..150e36a4c429a9a6adb75bb17b2a674a9e847ecd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-12  Ian Abbott  <abbotti@mev.co.uk>
+
+       * windows/config.h.bor: Account for Borland not defining `__STDC__'
+       when Borland's extensions enabled, and define it anyway.
+
 2002-04-12  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * configure.in: Check for <setjmp.h>.  Check for sigsetjmp and
index 18ade4c8a66b9506cd511b86972776e265bd7093..69ac6c73c169e89578ad34dec73747bd348921d0 100644 (file)
 #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 <windows.h>.  */
+#if !defined(__STDC__) && defined(__BORLANDC__)
+# define __STDC__ 1
+#endif
+
 #define HAVE_MEMMOVE
 #define ftruncate chsize
 #define inline __inline