comparison 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
comparison
equal deleted inserted replaced
4878:3a4e815c821d 4879:c356806cc933
416 }; 416 };
417 417
418 static Ibyte * 418 static Ibyte *
419 mswindows_read_link_1 (const Ibyte *fname) 419 mswindows_read_link_1 (const Ibyte *fname)
420 { 420 {
421 #ifdef NO_CYGWIN_COM_SUPPORT 421 #if defined (NO_CYGWIN_COM_SUPPORT) || !defined (HAVE_MS_WINDOWS)
422 return NULL; 422 return NULL;
423 #else 423 #else
424 Ibyte *retval = NULL; 424 Ibyte *retval = NULL;
425 Extbyte *fnameext; 425 Extbyte *fnameext;
426 HANDLE fh; 426 HANDLE fh;