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

[svn] Applied Csaba Raduly's patch from <802569B4.0043F7B1.00@Jagannath.uk.sophos>.

This commit is contained in:
hniksic 2000-12-17 10:18:14 -08:00
parent 2e8fc46b7b
commit f6a41b5669
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2000-12-17 Csaba Raduly <csaba.raduly@sophos.com>
* sysdep.h: Test for __EMX__ rather than for EMXOS2 for OS/2
compilation.
2000-12-17 Hrvoje Niksic <hniksic@arsdigita.com> 2000-12-17 Hrvoje Niksic <hniksic@arsdigita.com>
* mswindows.c: Include <errno.h>. * mswindows.c: Include <errno.h>.

View File

@ -45,15 +45,15 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mswindows.h> #include <mswindows.h>
#endif /* WINDOWS */ #endif /* WINDOWS */
/* Allegedly needed for compilation under OS/2: */ /* Needed for compilation under OS/2: */
#ifdef EMXOS2 #ifdef __EMX__
#ifndef S_ISLNK #ifndef S_ISLNK
# define S_ISLNK(m) 0 # define S_ISLNK(m) 0
#endif #endif
#ifndef lstat #ifndef lstat
# define lstat stat # define lstat stat
#endif #endif
#endif /* EMXOS2 */ #endif /* __EMX__ */
/* Reportedly, stat() macros are broken on some old systems. Those /* Reportedly, stat() macros are broken on some old systems. Those
systems will have to fend for themselves, as I will not introduce systems will have to fend for themselves, as I will not introduce