HAVE_DECL_LOG_PERROR is 0 when unavailable