Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/squelch-false-warning-from-gcc-o3' into maint
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index db89ba774891a9608531e52252de19d552cbf535..2ad45b3f759336acbca40499e737eb2d68a44669 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-436,6
+436,7
@@
static inline int const_error(void)
return -1;
}
#define error(...) (error(__VA_ARGS__), const_error())
+#define error_errno(...) (error_errno(__VA_ARGS__), const_error())
#endif
extern void set_die_routine(NORETURN_PTR void (*routine)(const char *err, va_list params));