1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Account for Borland not defining __STDC__ when Borland's extensions are

enabled and define it anyway.
This commit is contained in:
abbotti 2002-04-12 09:14:30 -07:00
parent fa2fa7a100
commit 4510858d9b
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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 <windows.h>. */
#if !defined(__STDC__) && defined(__BORLANDC__)
# define __STDC__ 1
#endif
#define HAVE_MEMMOVE
#define ftruncate chsize
#define inline __inline