Protect arguments to the putwc and putwchar macros with parens.

This commit is contained in:
tjr 2002-09-12 10:27:48 +00:00
parent 4448ddb047
commit c6cbf33b5a

View File

@ -163,7 +163,7 @@ __END_DECLS
#define getwc(fp) fgetwc(fp)
#define getwchar() fgetwc(stdin)
#define putwc(wc, fp) fputwc(wc, fp)
#define putwchar(wc) fputwc(wc, stdout)
#define putwc(wc, fp) fputwc((wc), (fp))
#define putwchar(wc) fputwc((wc), stdout)
#endif /* !_WCHAR_H_ */