<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 16, 2017 at 8:57 AM, Tobias Pape <span dir="ltr"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
> On 16.05.2017, at 17:41, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
><br>
> Hi Win64 mavens,<br>
><br>
>     I see in platforms//win32/third-party/<wbr>dx9sdk that the source code tests for<br>
>         #if _WIN64<br>
> In most places we've used<br>
>         #if WIN64<br>
> but in platforms//Cross/plugins/<wbr>IA32ABI/ia32abi.h & platforms//Cross/vm/<wbr>sqMemoryFence.h we have also used _WIN64.<br>
><br>
> Is it OK for us to continue to use the cleaner form or should we use _WIN64?<br>
<br>
<br>
</span>_WIN64 is defined by the compiler (<a href="https://msdn.microsoft.com/en-us/library/b0084kay.aspx" rel="noreferrer" target="_blank">https://msdn.microsoft.com/<wbr>en-us/library/b0084kay.aspx</a>)<br>
<br>
        "_WIN64 Defined as 1 when the compilation target is 64-bit ARM or x64. Otherwise, undefined."<br>
(which also means, #ifdef would be better than #if)<br>
<br>
According to the internet (<br>
        <a href="https://www.viva64.com/en/k/0040/" rel="noreferrer" target="_blank">https://www.viva64.com/en/k/<wbr>0040/</a><br>
) WIN64 is typically homegrown.<br></blockquote><div><br></div><div>OK, then _WIN64 and _WIN32 it must be.  Would you be willing to change the platform source (still defining WIN32 and WIN64 as appropriate) if I changed the VMMaker source?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Also, it seems there are but a few (8x in plaform/ and src/) users of WIN64 (w/o _)<br></blockquote><div><br></div><div>Yes.  I shall fix these ASAP.  I want to do it now because Nicolas is impacted, and I can make his life easier.  I've been over complicating by defining WIN64ABI, but it has no justification, and using _WIN64 would make things easier.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best regards<br>
        -Tobias<br>
<br>
<br>
<br>
><br>
> _,,,^..^,,,_<br>
> best, Eliot<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>