From bd5b0e3bd3a4b7e4b7e32f17538ec80782bf1911 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 5 Mar 2015 21:08:58 +0000 Subject: [PATCH] [INCLUDE] #undef some constants in arc.h to avoid conflicts with errno.h svn path=/trunk/; revision=66571 --- reactos/include/reactos/arc/arc.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/reactos/include/reactos/arc/arc.h b/reactos/include/reactos/arc/arc.h index 2b7acb9b4a0..e93a97dc06c 100644 --- a/reactos/include/reactos/arc/arc.h +++ b/reactos/include/reactos/arc/arc.h @@ -3,6 +3,30 @@ typedef ULONG ARC_STATUS; +/* Avoid conflicts with errno.h */ +#undef E2BIG +#undef EACCES +#undef EAGAIN +#undef EBADF +#undef EBUSY +#undef EFAULT +#undef EINVAL +#undef EIO +#undef EISDIR +#undef EMFILE +#undef EMLINK +#undef ENAMETOOLONG +#undef ENODEV +#undef ENOENT +#undef ENOEXEC +#undef ENOMEM +#undef ENOSPC +#undef ENOTDIR +#undef ENOTTY +#undef ENXIO +#undef EROFS +#undef EMAXIMUM + typedef enum _ARC_CODES { ESUCCESS,