git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42e0d3f
)
Avoid defining inlinable fn for MACRO_PREDEF build
author
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 25 Apr 2019 14:11:42 +0000
(15:11 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 25 Apr 2019 14:11:42 +0000
(15:11 +0100)
Some compilers include them even when unused, and the link stage fails
src/src/functions.h
patch
|
blob
|
history
diff --git
a/src/src/functions.h
b/src/src/functions.h
index 1b1a17dcbb63ef94cba853a96452323998e55d32..b902d23568b76bb240c83701cdf5067a928c6bea 100644
(file)
--- a/
src/src/functions.h
+++ b/
src/src/functions.h
@@
-590,6
+590,7
@@
extern BOOL write_chunk(transport_ctx *, uschar *, int);
extern ssize_t write_to_fd_buf(int, const uschar *, size_t);
+#ifndef MACRO_PREDEF
/* exim_chown - in some NFSv4 setups *seemes* to be an issue with
chown(<exim-uid>, <exim-gid>).
@@
-621,6
+622,7
@@
exim_chown(const uschar *name, uid_t owner, gid_t group)
return chown(CCS name, owner, group)
? exim_chown_failure(-1, name, owner, group) : 0;
}
+#endif /* !MACRO_PREDEF */
#endif /* _FUNCTIONS_H_ */