Hi Hans, On Mon, 22 Oct 2007 21:27:29 +0200, Hans de Goede wrote: > Jean Delvare wrote: > > On Mon, 22 Oct 2007 15:15:51 +0200, Hans de Goede wrote: > >> Well with mine one can do: > >> #if (SENSORS_API_VERSION / 100) == 4 > >> > >> But I'm fine with either. > > > > Ah right, I tend to forget that >> is nothing more than a division ;) > > But... still, I think I'd feel more confident if we used hexadecimal. > > Ok, changed to hexadecimal OK, thanks. Additionally, don't you think you should document it in libsensors.3? I guess that this is what application authors are reading, rather than sensors.h itself. Thanks, -- Jean Delvare