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

llvm-svn: 120072
This commit is contained in:
NAKAMURA Takumi 2010-11-24 01:29:45 +00:00
parent bb322e520d
commit 2d41b5af40

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,