which is: take a version flag, make a enum out of it and compare it as you want. right?<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 24, 2012 at 10:39 AM, Vladimir Panteleev <span dir="ltr"><<a href="mailto:vladimir@thecybershadow.net" target="_blank">vladimir@thecybershadow.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Saturday, 24 November 2012 at 05:55:49 UTC, Gor Gyolchanyan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In case of WinAPI itself, which takes a dozen of preprocessor definitions,<br>
would you like a WinAPI binding, where you need to mix in the WinAPI?<br>
</blockquote>
<br></div>
I believe the bindings on dsource use a sensible solution. It is similar to what is used in e.g. Pascal, the preprocessor of which doesn't support define values or comparisons (only IFDEF).<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Bye,<br>Gor Gyolchanyan.<br>
</div>