[Click] how to determine click version
Eddie Kohler
kohler at cs.ucla.edu
Wed Oct 29 15:48:46 EDT 2008
Hi Marco,
Unfortunately, there was no support for anything like this. But I just
committed some support.
http://read.cs.ucla.edu/gitweb?p=click;a=commit;h=cc8028dc717291485275fd78284a5cda4a0a76bb
But please tell us why you need this versioning? Is there some code that
worked in earlier versions that doesn't work now?
Eddie
Marco Canini wrote:
> -----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-----
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list