include/llvm/System/system_error.h: ECANCELED is undefined on Cygwin-1.5.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120072 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2010-11-24 01:29:45 +00:00
parent 9c336fabd5
commit bcc3678a4a

View File

@ -565,7 +565,11 @@ enum _ {
not_connected = ENOTCONN,
not_enough_memory = ENOMEM,
not_supported = ENOTSUP,
#ifdef ECANCELED
operation_canceled = ECANCELED,
#else
operation_canceled = EINVAL,
#endif
operation_in_progress = EINPROGRESS,
operation_not_permitted = EPERM,
operation_not_supported = EOPNOTSUPP,