projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c336fa
)
include/llvm/System/system_error.h: ECANCELED is undefined on Cygwin-1.5.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 24 Nov 2010 01:29:45 +0000
(
01:29
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 24 Nov 2010 01:29:45 +0000
(
01:29
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120072
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/System/system_error.h
patch
|
blob
|
history
diff --git
a/include/llvm/System/system_error.h
b/include/llvm/System/system_error.h
index 09922c94da71b61da561b32c7488fccff7085f1c..73bf3dd736e7ee3a781111bd6d00ccd2d17f765c 100644
(file)
--- 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,