Hello,

Is there a way to programmatically check for TinyOS version that a
program is being compiled for? Ideally it would be an integer macro that
would allow comparison, like

        #if TOS_VERSION < MAKE_VERSION(2, 1, 0)
                ...
        #else
                ...
        #endif

I need to distinguish between TinyOS 2.1 and 2.0, and don't seem to find
anything relevant in the headers.

-- 
Regards,
Andrey Vihrov <[email protected]>

Attachment: signature.asc
Description: Эта часть сообщения подписана цифровой подписью

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to