From db5da8bdd5dad77e1c355707a82dd53ef59734d2 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 19 Mar 2000 12:42:31 +0000 Subject: [PATCH] Avoid a link error from another DLL on FreeBSD. --- dlls/winaspi/aspi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/winaspi/aspi.c b/dlls/winaspi/aspi.c index 8c20de1e0cd..d25edf3a1bf 100644 --- a/dlls/winaspi/aspi.c +++ b/dlls/winaspi/aspi.c @@ -269,6 +269,7 @@ SCSI_printprocentry( const struct LinuxProcScsiDevice * dev ) dev->type, dev->ansirev ); } +#endif static void SCSI_GetProcinfo() @@ -277,6 +278,7 @@ SCSI_GetProcinfo() * HKEY_DYN_DATA would be a lot less messy */ { +#ifdef linux FILE * procfile = NULL; int result = 0; @@ -344,5 +346,5 @@ SCSI_GetProcinfo() } RegCloseKey(hkeyScsi); return; -} #endif +}