Maybe it is better to hide entire function in this #ifdef? I think that compile-time error is the best reminder that something must be fixed.