[omniORB] Preprocessor check for value type support
Duncan Grisby
duncan at grisby.org
Thu Apr 5 17:41:43 BST 2007
On Wednesday 21 March, "Peter S. Housel" wrote:
> Unless I missed it, there doesn't seem to be a preprocessor #define that
> would allow determining whether or not value types are supported, i.e.,
> that would distinguish between omniORB 4.0.x and 4.1.x. Such a #define
> would be useful for things such as the CORBA::omniORB Perl module, to
> determine whether or not the bindings are able to support value types
> while allowing compilation on both 4.0.x and 4.1.x.
There isn't a preprocessor #define, but there are two functions defined
in the omniORB namespace in include/omniORB4/omniORB.h that return the
version as a string or as a hex encoding of the version. You can write a
program that outputs them if you need it.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list