diff src/win32.c @ 4879:c356806cc933

fix compile errors when --with-msw=no -------------------- ChangeLog entries follow: -------------------- modules/ChangeLog addition: 2010-01-16 Ben Wing <ben@xemacs.org> * common/Makefile.common: * common/Makefile.common (.PHONY): Use WIN32_ANY not HAVE_MS_WINDOWS so we still link with the import library even when --with-msw=no. src/ChangeLog addition: 2010-01-16 Ben Wing <ben@xemacs.org> * win32.c (mswindows_read_link_1): Conditionalize COM support on HAVE_MS_WINDOWS because otherwise we haven't linked with the appropriate libraries.
author Ben Wing <ben@xemacs.org>
date Sat, 16 Jan 2010 06:50:01 -0600
parents 95c4ced5c07c
children 8b63e21b0436
line wrap: on
line diff
--- a/src/win32.c	Fri Jan 15 07:48:17 2010 -0600
+++ b/src/win32.c	Sat Jan 16 06:50:01 2010 -0600
@@ -418,7 +418,7 @@
 static Ibyte *
 mswindows_read_link_1 (const Ibyte *fname)
 {
-#ifdef NO_CYGWIN_COM_SUPPORT
+#if defined (NO_CYGWIN_COM_SUPPORT) || !defined (HAVE_MS_WINDOWS)
   return NULL;
 #else
   Ibyte *retval = NULL;