Huw Davies (@huw) commented about tools/widl/header.c:
fprintf(header, "#ifndef __%s__\n", header_token); fprintf(header, "#define __%s__\n\n", header_token);
- fprintf(header, "#ifndef __WIDL_INLINE\n");
- fprintf(header, "#if defined(__cplusplus) || defined(_MSC_VER)\n");
- fprintf(header, "#define __WIDL_INLINE static inline\n");
- fprintf(header, "#elif defined(__GNUC__)\n");
- fprintf(header, "#define __WIDL_INLINE static __inline__\n");
- fprintf(header, "#endif\n\n");
I don't think we want the double '\n' on this line (but we do on the next line).