diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-11-24 01:29:45 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-11-24 01:29:45 +0000 |
commit | bcc3678a4ac42cd014b94061233c06f5b9c82fa9 (patch) | |
tree | bcb7e87981dc6a60ab934f997dba15fca66f7d0c | |
parent | 9c336fabd59fbdbe9129d76fbbee32261ac7c8f0 (diff) | |
download | llvm-bcc3678a4ac42cd014b94061233c06f5b9c82fa9.tar.gz llvm-bcc3678a4ac42cd014b94061233c06f5b9c82fa9.tar.bz2 llvm-bcc3678a4ac42cd014b94061233c06f5b9c82fa9.tar.xz |
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
-rw-r--r-- | include/llvm/System/system_error.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/System/system_error.h b/include/llvm/System/system_error.h index 09922c94da..73bf3dd736 100644 --- a/include/llvm/System/system_error.h +++ b/include/llvm/System/system_error.h @@ -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, |