How to compile my code

My macro is supposed to be equally valid for both versions, ROOT 5 and ROOT 6, hence I explicitly use both defines.