From f6a41b566961d30d546b780e54cc5494349e8e48 Mon Sep 17 00:00:00 2001 From: hniksic Date: Sun, 17 Dec 2000 10:18:14 -0800 Subject: [PATCH] [svn] Applied Csaba Raduly's patch from <802569B4.0043F7B1.00@Jagannath.uk.sophos>. --- src/ChangeLog | 5 +++++ src/sysdep.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 716a92d8..ef19d42a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2000-12-17 Csaba Raduly + + * sysdep.h: Test for __EMX__ rather than for EMXOS2 for OS/2 + compilation. + 2000-12-17 Hrvoje Niksic * mswindows.c: Include . diff --git a/src/sysdep.h b/src/sysdep.h index 92f979dc..634de754 100644 --- a/src/sysdep.h +++ b/src/sysdep.h @@ -45,15 +45,15 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #endif /* WINDOWS */ -/* Allegedly needed for compilation under OS/2: */ -#ifdef EMXOS2 +/* Needed for compilation under OS/2: */ +#ifdef __EMX__ #ifndef S_ISLNK # define S_ISLNK(m) 0 #endif #ifndef lstat # define lstat stat #endif -#endif /* EMXOS2 */ +#endif /* __EMX__ */ /* Reportedly, stat() macros are broken on some old systems. Those systems will have to fend for themselves, as I will not introduce