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:
parent
fa2fa7a100
commit
4510858d9b
@ -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>
|
2002-04-12 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||||
|
|
||||||
* configure.in: Check for <setjmp.h>. Check for sigsetjmp and
|
* configure.in: Check for <setjmp.h>. Check for sigsetjmp and
|
||||||
|
@ -19,6 +19,12 @@
|
|||||||
#ifndef CONFIG_H
|
#ifndef CONFIG_H
|
||||||
#define 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 HAVE_MEMMOVE
|
||||||
#define ftruncate chsize
|
#define ftruncate chsize
|
||||||
#define inline __inline
|
#define inline __inline
|
||||||
|
Loading…
Reference in New Issue
Block a user