Displaying 1 result from an estimated 1 matches for "2c0fa5c".
Did you mean:
2c0ca75c
2010 Nov 24
1
[LLVMdev] llvm build breakage on OpenBSD after adding system_error
..., not all UNIX systems have that much number of errnos, so
I'm attaching the workaround that i've used to build llvm.
Hope this gets resolved.
Thanks!
-------------- next part --------------
diff --git a/include/llvm/System/system_error.h b/include/llvm/System/system_error.h
index 3bfc092..2c0fa5c 100644
--- a/include/llvm/System/system_error.h
+++ b/include/llvm/System/system_error.h
@@ -470,6 +470,16 @@ template <> struct hash<std::error_code>;
# endif
#endif
+#ifndef EBADMSG
+# define EBADMSG 104
+#endif
+#ifndef ENOLINK
+# define ENOLINK 121
+#endif
+#ifndef EPROTO
+# def...