[INCLUDE]

#undef some constants in arc.h to avoid conflicts with errno.h

svn path=/trunk/; revision=66571
This commit is contained in:
Timo Kreuzer 2015-03-05 21:08:58 +00:00
parent b086a99725
commit bd5b0e3bd3

View 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,