[omniORB] Preprocessor definitions for windows 64-bit omniORB
Duncan Grisby
duncan at grisby.org
Thu Jan 27 11:25:11 GMT 2011
On Wed, 2011-01-19 at 15:58 +0530, anirudh nair wrote:
> 1) Are the preprocessor definitions same as that of the 32-bit
> version?
> From the documentation I see the following definitions
>
>
> __WIN32__,__x86__,_WIN32_WINNT=0x0400, __NT__ and __OSVERSION__=4
>
>
> The above definitions seems to be for 32-bit. Can someone give me the
> corresponding 64-bit definitions.
They are the same. You need __WIN32__ to activate Windows-related
things. The standard compiler headers automatically define __WIN64__ for
you so the compile knows to use 64-bit support.
> 2) What are the 64-bit libraries corresponding to ws2_32.lib,
> mswsock.lib and advapi32.lib?
They're the same.
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list