On Tue, Nov 13, 2007 at 09:42:26PM +0100, Christian Franke wrote: > +#elif defined(__CYGWIN__) > + /* Cygwin */ > + sprintf (name, "/dev/fd%d", unit);
Cygwin has /dev now? :-) > +#ifndef __CYGWIN__ > static void > get_ide_disk_name (char *name, int unit) > { > @@ -213,6 +217,7 @@ get_ide_disk_name (char *name, int unit) > *name = 0; > #endif > } > +#endif /* __CYGWIN__ */ > [...] > +#ifndef __CYGWIN__ > /* IDE disks. */ > for (i = 0; i < 8; i++) > { > @@ -431,6 +440,7 @@ make_device_map (const char *device_map, > num_hd++; > } > } > +#endif /* __CYGWIN__ */ Is the generic case (`*name = 0', then print that) good enough? -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel