* include/grub/emu/misc.h: Remove leftover cygwin definitions.

Use windows path for DEFAULT_DIRECTORY.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-09-23 11:24:10 +02:00
parent dad9fa6bcf
commit e85a5d5ca6
2 changed files with 8 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2013-09-23 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/emu/misc.h: Remove leftover cygwin definitions.
Use windows path for DEFAULT_DIRECTORY.
2013-09-23 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/i386/setjmp.h: Remove useless #if MINGW where original

View file

@ -25,14 +25,9 @@
#include <grub/symbol.h>
#include <grub/types.h>
#ifdef __CYGWIN__
# include <sys/fcntl.h>
# include <sys/cygwin.h>
# include <limits.h>
# define DEV_CYGDRIVE_MAJOR 98
#endif
#ifdef __NetBSD__
#if defined __CYGWIN__ || defined (__MINGW32__)
# define DEFAULT_DIRECTORY "C:\\"GRUB_BOOT_DIR_NAME"\\"GRUB_DIR_NAME
#elif defined (__NetBSD__)
/* NetBSD uses /boot for its boot block. */
# define DEFAULT_DIRECTORY "/"GRUB_DIR_NAME
#else