summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Error.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm-c/Error.h')
-rw-r--r--llvm/include/llvm-c/Error.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Error.h b/llvm/include/llvm-c/Error.h
index 00714ec950e..6a5ba877eb7 100644
--- a/llvm/include/llvm-c/Error.h
+++ b/llvm/include/llvm-c/Error.h
@@ -18,6 +18,8 @@
extern "C" {
#endif
+#define LLVMErrorSuccess 0
+
/**
* Opaque reference to an error instance. Null serves as the 'success' value.
*/
OpenPOWER on IntegriCloud