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 | cf3475172f8e926963912a79a27e4947a175a4b0 (patch) | |
| tree | 110e9b4fc65df2473f096e89205e97b009c93712 | |
| parent | b3b56c6bcd9fddd1d0f52c178c41cb34fac19049 (diff) | |
| download | bcm5719-llvm-cf3475172f8e926963912a79a27e4947a175a4b0.tar.gz bcm5719-llvm-cf3475172f8e926963912a79a27e4947a175a4b0.zip | |
include/llvm/System/system_error.h: ECANCELED is undefined on Cygwin-1.5.
llvm-svn: 120072
| -rw-r--r-- | llvm/include/llvm/System/system_error.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/System/system_error.h b/llvm/include/llvm/System/system_error.h index 09922c94da7..73bf3dd736e 100644 --- a/llvm/include/llvm/System/system_error.h +++ b/llvm/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, |

