Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/tools/compat



On Sun, 03 Jun 2012, Joerg Sonnenberger wrote:
Log Message:
Add __predict_true / __predict_false definitions.

+#undef __predict_false
+#define __predict_false(x) x
+#undef __predict_true
+#define __predict_true(x) x

Please parenthesise the definitions.

I don't know whether it's worth defining them in a compiler-dependent way, or using #ifndef to pick up any definition provided by the host system.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index