[omniORB] differentiating between Omniorb Versions.
Christophe de VIENNE
cdevienne at alphacent.com
Tue Jun 24 14:48:38 BST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le Mardi 24 Juin 2003 13:02, Corrigan Coleman a écrit :
> Does anyone know offhand if there is an easy way of differentiating between
> omniORB versions at build time ?
>
> The problem is with external wrapper code that needs to operate differently
> depending on which version it has been built with, and while its no problem
> to add an option, it is still 'another option'.
>
> I have searched through the code, and there doesn't seem to be any version
> defs. Is this the case, or have I missed something.
Hi,
In OmniORB 3.0.x there is a global variable omniORB_3_0 which contains the
string "omniORB version 3.0.x". I don't know for 4.x versions though.
I guess this could be used to differenciate 3.x and 4.x versions.
Hope this help,
Christophe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE++DqeB+sU3TyOQjARAriDAKCSebhEeUiS6mQaLjt2FOBEAuxvlwCg0e8E
nv+RICuxa5ee4YHYbMBkEtQ=
=Pr/V
-----END PGP SIGNATURE-----
More information about the omniORB-list
mailing list