<br>&gt; _WIN32 is defined by all the Windows compilers (vc++, gcc, ic, ac, borland, etc...)<br><font color="#888888">
</font><br>hey makes sense :)....will make the changes asap :)<br><br><br><div class="gmail_quote">On Tue, May 12, 2009 at 6:53 PM, Vincent Torri <span dir="ltr">&lt;<a href="mailto:vtorri@univ-evry.fr">vtorri@univ-evry.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
<br>
On Tue, 12 May 2009, Jeetu Golani wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi Peter,<br>
<br>
Thanks for getting back :)<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1) fprintf(stderr, is not permitted inside libxcb. I know, it&#39;s a pain<br>
when error codes get lost, but it&#39;s even worse when a library stomps on<br>
the app&#39;s output handles.<br>
</blockquote>
<br>
This worried me too but when I was porting based on one of your earlier<br>
releases a grep showed up an fprintf in the file xcb_xlib.c, therefore I<br>
thought it was acceptable within the code for some reason and I kept it on. I<br>
can&#39;t seem to fine xcb_xlib.c in the current release anymore nor any further<br>
fprintf statements, so I&#39;ll take this off.<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2) I prefer #ifdef _WIN32 (defined by the compiler) over #ifdef WIN32<br>
(defined by the makefile). But that&#39;s just my personal preference, not<br>
official policy or anything.<br>
</blockquote>
<br>
I don&#39;t mind changing this. Would appreciate if you could explain the<br>
rationale behind this from a purely informative perspective.<br>
</blockquote>
<br></div>
_WIN32 is defined by all the Windows compilers (vc++, gcc, ic, ac, borland, etc...)<br><font color="#888888">
<br>
Vincent<br>
</font></blockquote></div><br>