]> sjero.net Git - wget/commitdiff
[svn] Applied Csaba Raduly's patch from <802569B4.0043F7B1.00@Jagannath.uk.sophos>.
authorhniksic <devnull@localhost>
Sun, 17 Dec 2000 18:18:14 +0000 (10:18 -0800)
committerhniksic <devnull@localhost>
Sun, 17 Dec 2000 18:18:14 +0000 (10:18 -0800)
src/ChangeLog
src/sysdep.h

index 716a92d856e588735d10aba1c1ed51db54838dbf..ef19d42af15eec4ff9fb9a626c5e67f60af848e1 100644 (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>
 
        * mswindows.c: Include <errno.h>.
index 92f979dcc1cb1ab587716e9af1d3c38c0194ce23..634de7541363b9df551b39a0a92b765afef4835a 100644 (file)
@@ -45,15 +45,15 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <mswindows.h>
 #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