Sorry for not reponding to this for a while. >Pike v7.8 release 469 running Hilfe v3.5 (Incremental Pike Frontend) >> GTK2.GTK_MINOR_VERSION; >(1) Result: 0 >> GTK2.MAJOR_VERSION; >(2) Result: 2 >> GTK2.MINOR_VERSION; >(3) Result: 20 >> GTK2.MICRO_VERSION; >(4) Result: 1
Ok, fine, but I can't use that in the preprocessor either. I can do #if constant(GTK2.MINOR_VERSION) but that's pretty pointles, because I don't want to know if it _has_ a version, I want to know what the version _is_. I can not do #if GTK2.MINOR_VERSION >= 12 because GTK2.MINOR_VERSION is an integer constant, not a macro. What I need is something like GTK2.GTK212 so that I can do #if constant(GTK2.GTK212) to find out if things which "require gtk212" are present or not.
