[llvm-commits] [llvm] r120072 - /llvm/trunk/include/llvm/System/system_error.h

NAKAMURA Takumi geek4civic at gmail.com
Tue Nov 23 17:29:45 PST 2010


Author: chapuni
Date: Tue Nov 23 19:29:45 2010
New Revision: 120072

URL: http://llvm.org/viewvc/llvm-project?rev=120072&view=rev
Log:
include/llvm/System/system_error.h: ECANCELED is undefined on Cygwin-1.5.

Modified:
    llvm/trunk/include/llvm/System/system_error.h

Modified: llvm/trunk/include/llvm/System/system_error.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/system_error.h?rev=120072&r1=120071&r2=120072&view=diff
==============================================================================
--- llvm/trunk/include/llvm/System/system_error.h (original)
+++ llvm/trunk/include/llvm/System/system_error.h Tue Nov 23 19:29:45 2010
@@ -565,7 +565,11 @@
   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,





More information about the llvm-commits mailing list