Changelog:
        dlls/winaspi/winaspi16.c: ASPI_OpenDevice16
        We always have strerror, so no needt to ifdef HAVE_STRERROR

Bye

Index: wine/dlls/winaspi/winaspi16.c
===================================================================
RCS file: /home/wine/wine/dlls/winaspi/winaspi16.c,v
retrieving revision 1.20
diff -u -r1.20 winaspi16.c
--- wine/dlls/winaspi/winaspi16.c       2000/03/28 20:44:59     1.20
+++ wine/dlls/winaspi/winaspi16.c       2000/07/29 16:43:49
@@ -72,11 +72,7 @@
     fd = open(device_str, O_RDWR);
     if (fd == -1) {
        int save_error = errno;
-#ifdef HAVE_STRERROR
        ERR("Error opening device %s, error '%s'\n", device_str, strerror(save_error));
-#else
-    ERR("Error opening device %s, error %d\n", device_str, save_error);
-#endif
        return -1;
     }
 
@@ -308,11 +304,7 @@
                if (save_error == ENOMEM) {
            MESSAGE("ASPI: Linux generic scsi driver\n  You probably need to 
re-compile your kernel with a larger SG_BIG_BUFF value (sg.h)\n  Suggest 130560\n");
        }
-#ifdef HAVE_STRERROR
                WARN("error:= '%s'\n", strerror(save_error));
-#else
-               WARN("error:= %d\n", save_error);
-#endif
     }
     goto error_exit;
   }

Reply via email to