Litle patch for AMD64 on Windows

Duncan Grisby duncan at grisby.org
Tue Oct 6 15:28:37 BST 2015


On Mon, 2015-10-05 at 21:12 +0200, szyk100 wrote:

> Hi I compiled succesfuly Omniorb and examples from
> https://github.com/liangqi/qt-omniorb . Main problem I encontered was
> that it is lack of _WIN64 clause in omnithread.h (__WIN32__ clause is
> not suitable when I compile with VS2015 AMD64 mode). So I added that
> clause and make litle patch which I attached to this email.

Why is the __WIN32__ define "not suitable"?  Win32 is the name of the
API, not the word size. 64 bit Windows platforms should define both
__WIN32__ to identify the API, and _WIN64 to indicate that it is 64 bit.

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list