Author: tkreuzer
Date: Thu Mar 5 21:08:58 2015
New Revision: 66571
URL:
http://svn.reactos.org/svn/reactos?rev=66571&view=rev
Log:
[INCLUDE]
#undef some constants in arc.h to avoid conflicts with errno.h
Modified:
trunk/reactos/include/reactos/arc/arc.h
Modified: trunk/reactos/include/reactos/arc/arc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/arc/arc.h?…
==============================================================================
--- trunk/reactos/include/reactos/arc/arc.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/arc/arc.h [iso-8859-1] Thu Mar 5 21:08:58 2015
@@ -2,6 +2,30 @@
#define _ARC_
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
{