[INCLUDE]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 5 Mar 2015 21:08:58 +0000 (21:08 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 5 Mar 2015 21:08:58 +0000 (21:08 +0000)
#undef some constants in arc.h to avoid conflicts with errno.h

svn path=/trunk/; revision=66571

reactos/include/reactos/arc/arc.h

index 2b7acb9..e93a97d 100644 (file)
@@ -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,