Comment 4 for bug 1482107

Revision history for this message
Gerry Boland (gerboland) wrote :

As Paul suggested on IRC, we can just wrap ubuntu-platform-api code with #ifdef USE_UBUNTU statements, and use pkg-config to determine if that preprocessor directive should be set or not.

If possible, even better would probably be to have *_ubuntu.cpp files and *_otherbrand.cpp files and do the magic in the .pro file