Ticket #42531: patch-src-strlcatu.h.diff
File patch-src-strlcatu.h.diff, 748 bytes (added by jul_bsd@…, 10 years ago) |
---|
-
src/strlcatu.h
old new 21 21 #ifndef __STRLCAT_H__ 22 22 #define __STRLCAT_H__ 23 23 24 #ifndef strlcat 25 /* 26 * On OS X (and probably some other systems aswell), strlcat might be 27 * implemented as a macro. If this macro is defined while we're including this 28 * header, strlcat is already declared and trying to re-declare it with the 29 * following line *will* fail, because the macro will expand to something 30 * that's not a valid function name. 31 */ 24 32 size_t strlcat(char *, const char *, size_t); 33 #endif /* !defined(strlcat) */ 25 34 26 35 #endif /* __STRLCAT_H__ */