* Better #ifdef

Signed-off-by: Jiri Hnidek <jiri.hnidek@tul.cz>