[Click] how to determine click version

Marco Canini marco at reti.dist.unige.it
Wed Oct 29 08:56:15 EDT 2008


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

I can't figure out how to determine the click version in preprocessor code.
Eventually, I want to obtain something like
#if CLICK_VERSION == 1 && CLICK_MAJOR >= 6 && CLICK_MINOR >= 9
code1
#else
code2
#endif

Any idea?
cheers

- --
Marco Canini
Ph.D. Candidate
Department of Communication, Computer and System Sciences
University of Genoa
Via all'Opera Pia 13
16145 Genoa Italy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFJCF1uK52QDm/mFCkRAtwVAKDXjz0TOgTEv/HxeX4rRQ+FQWtOaACgi7CW
wWZuRzUa+ucZlbQfGtso3iQ=
=TDqd
-----END PGP SIGNATURE-----


More information about the click mailing list