* grub-core/lib/posix_wrap/errno.h: Undefine errno before redefining.

This commit is contained in:
Vladimir Serbinenko committed 2013-12-16 14:36:48 +01:00
1 parent 3e38c31a4b
commit d87cb3ae3c
2 files changed
+5

No files matched your search

+1
View File
@@ -21,6 +21,7 @@
#include <grub/err.h>
#undef errno
#define errno grub_errno
#define EINVAL GRUB_ERR_BAD_NUMBER
#define ENOMEM GRUB_ERR_OUT_OF_MEMORY