Added missing defined(). This is OLD code.