[Spice-devel] [PATHCH win-qxl 4/8] display/qxldd.h: add DEBUG_PRINT_ONCE
Christophe Fergeau
cfergeau at redhat.com
Fri Apr 8 03:07:34 PDT 2011
Hi,
On Fri, Apr 08, 2011 at 11:48:12AM +0200, Hans de Goede wrote:
> nit pick, the usual way to do preprocessor macros with { } is:
I was about to nit pick about the same thing ;)
On a side note, I'm curious about the
#define DEBUG_PRINT(arg) DebugPrint arg
which require using double (( as in DEBUG_PRINT(("%s", str));
Using gcc it's possible to write a macro which does not need (( ))
Is that done this way because the windows driver is compiled with visual
c++ and it has a less sophisticated preprocessor?
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110408/be773e35/attachment.pgp>
More information about the Spice-devel
mailing list