PERROR ifdefs