<div dir="rtl"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.499999046325684px">Jonathan,</span></div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.499999046325684px"><br></span></div>

<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.499999046325684px">It's true that using </span><span style="font-family:arial,sans-serif;font-size:12.499999046325684px">WIN32_LEAN_AND_MEAN will speed compilation, but deleting the include <windows.h> will speed even more. It's not required in libcxx. If the programmer needs it he can include it regardless of libcxx.</span><br>

</div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.499999046325684px"><br></span></div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.499999046325684px">Yaron</span></div><div dir="ltr">

<span style="font-family:arial,sans-serif;font-size:12.499999046325684px"><br></span></div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.499999046325684px"><br></span></div></div><div class="gmail_extra">

<br><br><div class="gmail_quote"><div dir="ltr">2013/10/3 Jonathan Sauer <span dir="ltr"><<a href="mailto:jonathan.sauer@gmx.de" target="_blank">jonathan.sauer@gmx.de</a>></span></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br>
<div class="im"><br>
> support.h includes windows.h on win32 platform.<br>
> Does libstdc++ also include windows.h. I think this single include may be enough to explain the difference.<br>
<br>
</div>I just looked into libc++, and it seems to include windows.h without first defining<br>
WIN32_LEAN_AND_MEAN. From <<a href="http://support.microsoft.com/kb/166474" target="_blank">http://support.microsoft.com/kb/166474</a>>:<br>
<br>
| WIN32_LEAN_AND_MEAN: Windows Headers use this symbol to exclude rarely-used header files<br>
<br>
Maybe that's a way to speed things up a bit, at least on Windows.<br>
<br>
<br>
HTH,<br>
Jonathan<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div>