-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi neon folks,

I would like my code to be compatible to neon 0.24.x and 0.25.x.
Therefore I'd like to use the C-preprocessor with something like:

#if (NE_VERSION_MINOR > 24)
        if (ne_has_support(NE_FEATURE_SSL)) {
#else
        if (ne_supports_ssl()) {
#endif

For this I can't use ne_version_match() because it's evaluated at
compile time and would cause an error. And NE_VERSION_MAJOR and
NE_VERSION_MINOR are not exported.

So, is there a simple way to enable cross compiling?

Thanks in advance and greetings, Jens

- --
jens m. noedler
  [EMAIL PROTECTED]
  pgp: 0x9f0920bb
  http://noedler.de

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDcJ3JBoFc9p8JILsRAkZZAKCa9m8/ooexw7sSwTwQHp+9TmK/QACg0K1q
NpSZ8K0NkTzFcyi6MWEul9w=
=8J60
-----END PGP SIGNATURE-----
_______________________________________________
neon mailing list
[email protected]
http://mailman.webdav.org/mailman/listinfo/neon

Reply via email to